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.

l filename.file | grep 5th-tab | not eq 0 | rm

Something like this?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *