如何将日期和时间戳从一种格式转换为另一种格式&在Linux Shell脚本中的比较 我有kubernetes pod age as kubectl describe pods "podname" |grep Started | head -1 | awk '{ print $3,$4,$5,$6}‘’as 07 Jul 2020 11:00:23的输出 我需要将上面的时间戳与当前的时间戳进行比较&对于日期比较中的任何指针,请帮助
我正在尝试建立一个批处理脚本,以确认文件大小和修改日期。到目前为止,我一直在使用不同的命令(diff、comp和其他命令),这些命令没有给我提供所需的结果。/P "ComputerName=Please enter the computer name or the word batch to pull from computernames.txt: "file2= \\%ComputerName%\m$