Find recently changed files on Linux

Mar 06, 2013 18:42

Let’s make it easy on ourselves to find what files exactly have changed within a certain amount of time. The below commands with search in the folder that you are currently in, then move into its subdirectories and find files in there as well.

Files changed today:

find . -mtime 0

Files changed less than 3 days ago:

find . -mtime -3

Files changed exactly 14 days ago:

find . -mtime 14

commandline, changed, linux, find, folder, files

Previous post Next post
Up