Delete subdirectories leaving a given one
12055
How to exclude some files from filename expansion mechanism in bash?
25394
Delete files and directories by their names. No such file or directory
22003
Shell script to delete directories older than n days
128074
How do I remove a directory and all its contents?
88276
Find directories that do not contain subdirectories
97200
What is the command to remove all files but not directories?
113062
How can I move files into subdirectories by count?
86058
How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?
60757
Move all files from subdirectories to parent directory
16349
Linux command line. Move all files and directories in directory, except some files and directories
86189
How to delete all files that are returned by locate
103887
Deleting directory in Python
153244
Delete all files to which no corresponding file with another extension exists
124260
How do I delete all empty directories in a directory from the command line?
118843
How to delete directories based on `find` output?
116950
recursive mkdir
64756
Finding empty directories recursively