query: Remove all files older than X days, but keep at least the Y youngest
positive_passages.docid: 151534
positive_passages.text: How can I delete files over (n) days old but leave (n) files regardless of age?
negative_passages.docid: 93547
negative_passages.text: How to exclude/delete files only?
negative_passages.docid: 29053
negative_passages.text: Delete all but the most recent X files in bash
negative_passages.docid: 47306
negative_passages.text: Remove files with 0 length inside bash
negative_passages.docid: 96705
negative_passages.text: How to find and delete files older than specific days in unix?
negative_passages.docid: 117887
negative_passages.text: How can I delete a folder with lots of subfolders fast?
negative_passages.docid: 68914
negative_passages.text: How to copy ONLY those files that are not in the destination?
negative_passages.docid: 34879
negative_passages.text: How to remove all files and subdirectories in a directory WITHOUT deleting the directory in bash?
negative_passages.docid: 155020
negative_passages.text: How do I delete a folder but not the contents?
negative_passages.docid: 91552
negative_passages.text: Move only the last 8 files in a directory to another directory
negative_passages.docid: 105143
negative_passages.text: How to remove only the content of directories?
negative_passages.docid: 47667
negative_passages.text: remove oldest files
negative_passages.docid: 49141
negative_passages.text: Shell script for moving oldest files?
negative_passages.docid: 70871
negative_passages.text: using FORFILES in batch to delete tmp and bak files older than a week
negative_passages.docid: 33264
negative_passages.text: List all the files ending with 10 or 11 or 12
negative_passages.docid: 54635
negative_passages.text: Removing files matching a numeric range regular expression
negative_passages.docid: 5017
negative_passages.text: Recursively delete all files with a given extension