Delete files older then n days

Unix Command for delete files and folder older than 10 days:

 find directory_name -mtime +10 -exec rm -f {} \; 

Move files and folders older than 10 days in tmp folder.

 find directory_name -mtime +10 -exec mv {} tmp \;