How do I delete a certain file in linux if its size is 0. I want to execute this in an crontab without any extra script.
This will delete all the files in a directory (and below) that are size zero:
If you just want a particular file;
* How to delete many 0 byte files in linux?
* VBird - Ch12 - 學習 Shell Scripts