1 |
quoth the maxim wexler: |
2 |
> Hi group, |
3 |
> |
4 |
> I'd like to be able to cp or mv certain files from a |
5 |
> dir according to their timestamp. |
6 |
|
7 |
Have a look at find. You can whip up a one-liner using the -atime, -mtime |
8 |
or -ctime tests (depending on your intent) and use -exec to do the cp or |
9 |
mv... |
10 |
|
11 |
> -Maxim |
12 |
|
13 |
-d |
14 |
-- |
15 |
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org |
16 |
"...the number of UNIX installations has grown to 10, with more expected..." |
17 |
- Dennis Ritchie and Ken Thompson, June 1972 |
18 |
-- |
19 |
gentoo-user@g.o mailing list |