Find and Delete Empty Directories
124260
How do I delete all empty directories in a directory from the command line?
88276
Find directories that do not contain subdirectories
133007
Is there any option with 'ls' command that I see only the directories?
86058
How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?
146191
How to delete all files in a current directory starting with a dot?
21398
Excluding certain files and directories when deleting files
49775
How to delete files bypassing trash
129670
How to clean up unnecessary files
34879
How to remove all files and subdirectories in a directory WITHOUT deleting the directory in bash?
153515
Efficiently removing subdirectories in dirnames from os.walk
24111
How do I delete a directory with read-only files in C#?
40084
Remove empty directory trees (removing as many directories as possible but no files)
117119
Listing only directories in UNIX
123524
Removing a non empty directory programmatically in C or C++
58963
How to cd into a directory with blanks?
3545
How to delete a non-empty directory in Terminal?
93649
Recursively remove files