maxim wexler wrote: >> find has many options related to searching by time >> (hours, >> minutes, etc) and you can select by atime, ctime or >> mtime. It's >> all in the man page >> > > I can't get it to work. I used -ctime, -mtime, -mmin. > The files were created on the 26th of this month using > abcde. All the other files in the dir are at least two > weeks old, so I gave it 72(hours) then 3(days) to grab > everything in the last three days then 96 and 4 just > to make sure. I gave it mmin with 4810(72*60 minutes) > and 5760(90*60). Every time nothing happens; nothing > is copied and no error message is generated. I gave it > relative dirs and absolute dirs. I used -type f and > -fstype <file-type>. Nothing. > > -mw > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > I believe the right syntax is:
find /path/dir -type f -ctime -3 This should mean "show all files created for the last 3 days". Use "-3" not "3" -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list