How can I move a file adding timestamp to the filename if file size is 0

后端 未结 0 1827
野性不改
野性不改 2020-12-08 03:02

I\'m using a shell script with the following statement to move an empty file from directory a to directory b: if [ ! -s /a/filea.csv ]; then mv /a/filea.csv /b/fileb.csv; fi

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