shell抓取1天前的目录:
a=stat -c %Y /aa/bbb=date +%sc=expr $b - $aif [ $c -gt 86400 ];then
stat -c %Y /aa/bb
date +%s
expr $b - $a
说明:a为目录时间戳,b为当前时间戳