Home » Linux » Is there any way to find out changed file after some date in whole project code?

Is there any way to find out changed file after some date in whole project code?

Posted by: admin November 30, 2017 Leave a comment

Questions:

see i am working in one BIG project source code Now i want to know which files are modified after some date.

Is there any command or any way to get that..

i have tried

# ls -R -l 

but here it shows all file with last modified data but i want to filter this output by some data …

so is there any way to do this in linux? is there any tool available for this?

Answers:
#set timestamp for file    
touch --date "2011-12-31" /tmp/foo
# Find files newer than 2011/Dec/31, in /some/files
find /some/files -newer /tmp/foo

Questions:
Answers:

Use find command with mtime arguments: Some examples are here or here

For example, list files changed in last 7 days…

find / -type f -mtime -7 

For fine grained search you may try -mmin argument. See an example discussed in another SE site: Find All files older than x minutes