Hello everyone;
How do I find out all files that have been modified on 2013-02-07 (07/Feb/2013) using find command under Linux / Apple OS X / *BSD and Unix like operating systems?
There are two ways to list files in given directory modified after given date of the current year. The latest version of GNU/find command use the following
Code:
Syntax
GNU/find latest version:
## List all files modified on given date
### print all *.pl ###
Sample photo:
The other way of doing this works on the versions of find before v4.3.3:
Example
To find out all files that have been modified on 2013-02-07 (07/Feb/2013), enter:
Sample outputs:
To find out all Python files (*.py) in /home/vivek/projects that have been modified on 2013-02-07 (07/Feb/2013),
enter:
Pass the -ls option to get detailed file listing:
To find and delete all tmp files (*.tmp) in /home/bursa/projects that have been modified on 2013-02-07 (07/Feb/2013), enter:
Bursa-Bilgisayar.Com Seeu.
Leave a comment