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

StackOverflow https://stackoverflow.com/questions/8985989

  •  13-11-2019
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

#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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top