find . -mtime +0 -exec rm -f {} \;
or
find /any/directory/you/may/have/ -type f -mtime +15 -exec rm -f {} +
March 20, 2013
Comments Off on Find and delete files older than today in current directory
find . -mtime +0 -exec rm -f {} \;
or
find /any/directory/you/may/have/ -type f -mtime +15 -exec rm -f {} +