Regarding deleting first 327 lines in all the .dat files in a folder
57440
How do I delete the first n lines of an ascii file using shell commands?
29053
Delete all but the most recent X files in bash
84924
Find and remove large files that are open but have been deleted
124260
How do I delete all empty directories in a directory from the command line?
137448
How do I remove all files in a folder except just some specified files?
74513
Delete files except n files with the "bigger" name?
117887
How can I delete a folder with lots of subfolders fast?
16791
Delete all lines of text that isn't all numbers
61849
ls command very slow after deletion of thousand files on a directory
116961
Is there a way to set the size of the history list in bash to more than 5000 lines?
59723
How do I remove all sub-directories from within a directory?
42908
How to remove all the files in a directory?
153515
Efficiently removing subdirectories in dirnames from os.walk
148705
How to delete many 0 byte files in linux?
91552
Move only the last 8 files in a directory to another directory
70871
using FORFILES in batch to delete tmp and bak files older than a week
21398
Excluding certain files and directories when deleting files