Simple command to remove all files with size 0 in a directory:

find . -size 0 -delete

*The above finds and removes all files with size 0 within the /home directory.

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: