Try this command: find . -empty -type d -delete The find command is used to search for files/directories matching a particular search criteria from the specified path, in this case the current directory (hence the .). The -empty option holds true for any file and directory that is empty. The -type d option holds true... Continue Reading →

Up ↑