Loading...

Delete zero byte files

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

If you the situation, that a lot of zero byte files exists in your current directory a simple find command, helps you to get rid of it.

find . -name '*' -size 0 -print0 | xargs -0 rm
Please remember the terms for blog comments.