• Home
  • Linux
  • Finding files modified within x days

Finding files modified within x days

If I want to find all files (recursively) modified within n days, I do:

find . -ctime [n] -exec ls -l {} ;

find . -ctime 0 -exec ls -l {} ;[/code]

The above command finds files modified today