lee-pai-long
1/20/2016 - 5:03 PM

delete-all-empty-file-in-tree_linux.md

[LINUX] Delete all empty file in a tree

$ find </path/to/tree> -type f -size 0 -exec rm -f {} \;

An option -name can be use to specify only certain files.