This entry is part 10 of 19 in the Bash-whacking series

Delete files older than 7 days:

cd /path/to/dir
find -mtime +7 -exec rm {} \;
 

Change +7 to +14 for deleting files older than 14 days.