Use the Find command to find files by size and print file names to standard output.
find . -type f -size 0b -print
substitute -print with -delete to delete the files rather than print them on screen.
find . -type f -size 0b -delete
Use the Find command to find files by size and print file names to standard output.
find . -type f -size 0b -print
substitute -print with -delete to delete the files rather than print them on screen.
find . -type f -size 0b -delete
No comments yet.
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.
Powered by WordPress