Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

linux

shell

ls

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?

like image 294
Jeegar Patel Avatar asked Jan 24 '12 11:01

Jeegar Patel


People also ask

How do I find out what files have been modified more than 1 day?

/directory/path/ is the directory path where to look for files that have been modified. Replace it with the path of the directory where you want to look for files that have been modified in the last N days. -mtime -N is used to match files that had their data modified in the last N days.

How do I find out where a file was modified today?

How to find the date of modified files. Press the Windows key + E on the keyboard to open File Explorer. On the left side-scrolling menu, select the drive or folder that you want to view the last modified date(s) (A) for the contents.

How do you check if a file has been modified?

You can use the stat command on a file to check access and modification times or set up RCS to track changes. You can use MD5 or sum to get the current state of the file, copy that value to a file and then that file to verify that the original file wasn't changed.

How do you find all files which are modified 10 minutes before?

Syntax of find command with “-mmin n” option -n : find command will look for files modified in last n minutes. +n : find command will look for files modified in before the last n minutes i.e. which are not modified in last n mins. n : find command will look for files which are modified exactly n minutes ago.


1 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 
like image 83
peko Avatar answered Sep 22 '22 03:09

peko