Welcome to WebmasterWorld Guest from 50.19.0.90

Forum Moderators: bakedjake

Message Too Old, No Replies

How to find new files from certain date onwards

     
1:50 am on Dec 4, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 6, 2004
posts:53
votes: 0


Is there an easy way to find all the files that have been created from a certain date?
I am looking for a command to pipe out the filepath and file name of all images created in an image directory and subdirectories this month.
Help appreciated. Ta
2:07 am on Dec 4, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


You'll need to write something in PHP or ASP or somesuch.
2:10 am on Dec 4, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


Unless you are looking for a command-line command, in which case, this is a question for one of our operating-system-related forums...

Jim

2:13 am on Dec 4, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 6, 2004
posts:53
votes: 0


sorry, wrong forum. I should have posted in linux. can this be moved?
3:01 am on Dec 4, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 6, 2004
posts:53
votes: 0


ok, I have found the answer
find . -mtime -5 -ls