Question

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?

Was it helpful?

Solution

#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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top