Oct 17, 2003 #1 sab1234 Programmer Sep 29, 2003 11 US Hi, I need to list the files that has been created today. How do I do that. Can anyoine please help me out in this -Andy
Hi, I need to list the files that has been created today. How do I do that. Can anyoine please help me out in this -Andy
Oct 17, 2003 1 #2 Salem Programmer Apr 29, 2003 2,455 GB Code: find . -mtime -1 The find command is pretty much the "swiss army knife" of file system utilities. -- http://www.catb.org/~esr/faqs/smart-questions.html Upvote 0 Downvote
Code: find . -mtime -1 The find command is pretty much the "swiss army knife" of file system utilities. -- http://www.catb.org/~esr/faqs/smart-questions.html
Dec 16, 2003 #3 SteveR77 Programmer Sep 18, 2000 813 US Depending on the system this would work too. find . -mtime 0 I like Salem's answer because it makes more sense but what I posted should work in most cases as well. Upvote 0 Downvote
Depending on the system this would work too. find . -mtime 0 I like Salem's answer because it makes more sense but what I posted should work in most cases as well.
Dec 16, 2003 1 #4 PHV MIS Nov 8, 2002 53,708 FR With -mtime 1 you get all the files modified within the last 24 hours, not only today's files. I will suggest something like this: Code: touch `date "+%m%d0000"` /tmp/today find . -newer /tmp/today Hope This Help PH. Upvote 0 Downvote
With -mtime 1 you get all the files modified within the last 24 hours, not only today's files. I will suggest something like this: Code: touch `date "+%m%d0000"` /tmp/today find . -newer /tmp/today Hope This Help PH.