Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Re: Re: date-specific cp/mv
Date: Sat, 30 Sep 2006 09:41:34
Message-Id: 6194364.kY8pVqWgcJ@m-id.message-center.info
In Reply to: Re: [gentoo-user] Re: Re: date-specific cp/mv by Daniel Iliev
1 · Daniel Iliev <danny@××××××××.com>:
2 > Alexander Skwar wrote:
3 >> · maxim wexler <blissfix@×××××.com>:
4
5 >>>> How did you use it?
6 >>>>
7 >>> $find ~/<music> (-type f, -fstype mp3) (-mtime, -mmin,
8 >>> -ctime) (72, 3, 4810, whatever) -exec cp {}
9 >>> ~/<music-bkp> \;
10 >>>
11 >>
12 >> Well, actually, I don't wonder that *this* command did not
13 >> work. That's not at all even *close* to legal syntax.
14
15 > Well, I think that by the parenthesis Mr. Wexler wanted to show he had
16 > tried all the variations, not that it is the exact command.
17
18 Ah, I see. I was interested in the exact command, not something
19 which closely describes what he did.
20
21 > I was also
22 > very pissed off when I had to discover that the "find manual page" isn't
23 > very correct. It never made clear that "-ctime 3" means "now plus 3
24 > days" and "-ctime -3" means "now minus 3 days".
25
26 Yeah, this also took me a very long time to get used to. Also
27 it took me quite some time to understand, that "+3" and "3" isn't
28 the same.
29
30 Alexander Skwar
31 --
32 0 7 * * * echo "...Linux is just a fad" | mail billg@×××××××××.com -s=
33 "And remember..."
34
35
36 --
37 gentoo-user@g.o mailing list