delete all empty files and folders in terminal code example Example: delete all empty files and folders in terminal find /home/savona/ -type f -empty -exec rm {} \;