delete all files in ubuntu which size is 0kb August 30, 2024 in Ubuntu to delete the files 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