I have a directory containing a high number of files (like logs for every day of the year).
I would like to remove all files created before let's say 22/11. How can I achieve that ? Must I use
find then exec
-rm? I'm using ksh.
One way of doing this is to create a file with the time-stamp in it. e.g
Now delete the files GNU
or non GNU find
With GNU or some BSD
Note that it checks the last modification time of the files. On some BSDs, you can use