Skip to content

list

List empty directories using the command ‘find’

This is what i tried to list all empty directories : ~$ find . -type d -empty and this is what i got ./.config/transmission/torrents./.config/transmission/blocklists./.config/transmission/resume./.gnome2/eog./.gnome2/panel2.d/default/launchers./.gnome2/file-roller./.update-notifier./.dosemu/drive_c/tmp./Templates./.themes./.kde/share/mimelnk./.kde/share/servicetypes./.kde/share/apps/amarok/albumcovers/cache./.kde/share/apps/amarok/undo./.kde/share/apps/konqueror./.kde/share/applnk./.kde/share/services./.gimp-2.6/tmp./.gimp-2.6/gfig./.gimp-2.6/scripts./.gimp-2.6/plug-ins./.gimp-2.6/gimpressionist./.gimp-2.6/tool-options./.gimp-2.6/curves./.gimp-2.6/themes./.gimp-2.6/fonts./.gimp-2.6/levels./.gimp-2.6/interpreters./.gimp-2.6/templates./.gimp-2.6/modules./.gimp-2.6/gflare./.gimp-2.6/brushes./.gimp-2.6/fractalexplorer./.gimp-2.6/environ./.gimp-2.6/patterns./.gimp-2.6/palettes./.gimp-2.6/gradients./.icons./.adobe/Flash_Player/AssetCache/K2USXEKE./Public./Videos./Pictures./.gvfs./Documents/My Music./Documents/KMPlayer/PlayList./Documents/KMPlayer/Logo./Documents/KMPlayer/Capture./Documents/My… Read More »List empty directories using the command ‘find’