ls -1 | wc -l
August 6, 2018
August 2, 2018
Delete Empty File or 0b File
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
Comments Off on Delete Empty File or 0b File