Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find file(s) that where last updated in a filesystem

Status
Not open for further replies.

kozlow

MIS
Mar 3, 2003
326
0
0
US
I am looking for a way to show the file(s) that where updated/created in a filesystem. I was trying to use the find command. Maybe find all files, execute a ll and then grep out todays date and then sort on the time stamp column????

Anybody have a quick and easy way of doing this...
 
find /fs -type f -mtime -1? If it's quite a short list you can pipe it into xargs ls -lrt, however you'll need to make sure xargs only executes ls once or the sort order will be compromised...

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top