我需要在FMTIME中输出与以下命令相同的输出:
FMTIME=`ls -l --time-style=+%s $FILE | cut -f6 -d' '`但是我的Linux (运行busybox)不支持ls --time-style。我正在竞选:
Linux SAM 3.10.35 #5644 SMP Wed Oct 28 12:37:28 CST 2015 x86_64 GNU/Linux synology_cedarview_412+我有stat,awk和cut。
发布于 2015-11-29 13:55:07
试一试
stat -c %Y %X和%Z进行双重检查。man stat)https://unix.stackexchange.com/questions/246205
复制相似问题