find ./ -name 'DATE_*' -mtime +14 -exec rm -rf {} \;
backup first, test before you run (w/o the -exec rm -rf {} \;) to verify it finds the right fields, etc, etc...
In reply to Re: How do I find and delete files based on age?
by duckyd
in thread How do I find and delete files based on age?
by macvsog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |