Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] date-specific cp/mv
Date: Thu, 28 Sep 2006 16:30:41
Message-Id: 200609280924.25953.bulliver@badcomputer.org
In Reply to: [gentoo-user] date-specific cp/mv by maxim wexler
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

Replies

Subject Author
Re: [gentoo-user] date-specific cp/mv Dave V <dave@××××××××.org>