Delete files and exclude some with find
40571
How to delete all files in a directory except some?
61060
In linux, how to delete all files EXCEPT the pattern *.txt?
86058
How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?
65864
How to delete files and folders that cannot be deleted?
61399
Exclude a list of directories from unix find command
29516
Delete files older than X days +
29053
Delete all but the most recent X files in bash
126468
Delete sub-directories with YYYYMMDD in name older than N days
43454
cp command to exclude certain files from being copied
84924
Find and remove large files that are open but have been deleted
97200
What is the command to remove all files but not directories?
93547
How to exclude/delete files only?
125130
Remove files older than 5 days in UNIX (date in file name, not timestamp)
106335
How do I list every file in a directory except those with specified extensions?
47201
How to find files that contain one criterion but exclude a different criterion
67233
Remove all files/directories except for one file
106685
How to remove all files from a directory?