From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] date-specific cp/mv
Date: Fri, 29 Sep 2006 07:43:14 +0300 [thread overview]
Message-ID: <451CA462.4090709@ilievnet.com> (raw)
In-Reply-To: <20060929020019.28494.qmail@web31714.mail.mud.yahoo.com>
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
next prev parent reply other threads:[~2006-09-29 4:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 16:16 [gentoo-user] date-specific cp/mv maxim wexler
2006-09-28 16:24 ` darren kirby
2006-09-28 16:41 ` Dave V
2006-09-28 16:27 ` Trey Gruel
2006-09-28 16:47 ` Alan McKinnon
2006-09-29 2:00 ` maxim wexler
2006-09-29 4:43 ` Daniel Iliev [this message]
2006-09-29 16:34 ` [gentoo-user] date-specific cp/mv RESOLVED maxim wexler
2006-09-29 5:47 ` [gentoo-user] Re: date-specific cp/mv Alexander Skwar
2006-09-29 16:27 ` maxim wexler
2006-09-29 18:35 ` [gentoo-user] " Alexander Skwar
2006-09-29 19:43 ` Daniel Iliev
2006-09-29 20:15 ` Richard Fish
2006-09-29 20:37 ` Daniel Iliev
2006-09-29 22:36 ` Richard Fish
2006-09-30 9:33 ` [gentoo-user] " Alexander Skwar
2006-09-29 5:46 ` [gentoo-user] " Alexander Skwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451CA462.4090709@ilievnet.com \
--to=danny@ilievnet.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox