or better using -delete from find actions (in this case -maxdepth is needed too)
why ctime and not mtime ?
In the other side, maybe using Find, could be more efficient? I don't know
Regards,In reply to Re^2: Deleting old files from directory
by i5513
in thread Deleting old files from directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |