From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Re: date-specific cp/mv
Date: Fri, 29 Sep 2006 23:37:44 +0300 [thread overview]
Message-ID: <451D8418.5030804@ilievnet.com> (raw)
In-Reply-To: <7573e9640609291315p2b03fea9l5042e4b0352a8244@mail.gmail.com>
Richard Fish wrote:
> On 9/29/06, Daniel Iliev <danny@ilievnet.com> wrote:
>> tried all the variations, not that it is the exact command. I was also
>> very pissed off when I had to discover that the "find manual page" isn't
>> very correct. It never made clear that "-ctime 3" means "now plus 3
>> days" and "-ctime -3" means "now minus 3 days".
>
> Well the man page does have this paragraph in it (emphasis added):
>
> If you are using find in an environment where security is
> important
> (for example if you are using it to seach directories that are
> writable
> by other users), you should read the "Security Considerations"
> chapter
> of the findutils documentation, which is called Finding Files
> and comes
> with findutils. **That document also includes a lot more
> detail and
> discussion than this manual page, so you may find it a more
> useful
> source of information.**
>
> So you can get better documentation from the info pages by running
> "info find.info". If you want specifics on the time options:
>
> # info find.info "Finding Files" "Time"
>
> BTW, in programmer speak, "now plus 3 days" would be interpreted as 3
> days in the future...which is _not_ how find works. To try and
> clarify:
>
> -mtime 2 -> files modified between 48 and 72 hours ago.
> -mtime -2 -> files modified in the last 2 days...the period between 0
> and 48 hours ago.
> -mtime +2 -> files modified more than 48 hours ago
>
> HTH,
> -Richard
Point taken! Thanks for the clarification, Richard!
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-09-29 20:44 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
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 [this message]
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=451D8418.5030804@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