Can find command print atime in speical format without fractional part?

前端 未结 0 1091
醉酒成梦
醉酒成梦 2021-01-22 02:12

With %TS it seems always output the fractional part. Is there a way to get rid of the fractional part?

find ./ -type f -printf "%TY%Tm%Td-%TH%TM         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题