find file modified ‘n’ days ago

To find files modified 14 days ago you can use following command.

find /path/to/directory -type f -mtime +14

And to remove those files just pipe through xrags rm

find /path/to/directory -type f -mtime +14 | xargs rm