How to remove all but last 10 files
47667
remove oldest files
29516
Delete files older than X days +
46279
How to clean up file extensions?
146191
How to delete all files in a current directory starting with a dot?
84924
Find and remove large files that are open but have been deleted
18309
Delete all files in directories except those whose path are listed in a file
135268
How to copy only new files AND only those that are modified after a certain date?
149051
Auto deleting files older than given minutes on Windows
125130
Remove files older than 5 days in UNIX (date in file name, not timestamp)
138921
How do I delete folders and files that were older than 7 days on the command line?
55581
How to remove last part of a path in bash?
40571
How to delete all files in a directory except some?
153244
Delete all files to which no corresponding file with another extension exists
3380
How do I remove/delete a folder that is not empty?
155020
How do I delete a folder but not the contents?
29703
Batch file to delete files older than N days
102732
How many files can rm delete at once?