On Fri, May 24, 2002 at 01:53:09PM +0300, Antti Hakulinen wrote: > > Hi there all. > I have one problem. > > I would like to know how and with what command i could move a bunch > (200,000) files that are 2 weeks OLDER than this date/current date to a > certain directory.? > Putting them into a *.TAR file is a must, but the tar command seems to > understand only "newer than" option. > So any solution to this anyone??
You can use find(1): it has an expression syntax that allows for NOT
("!") and NEWER. So 'find -type f \! -cnewer reference-file' shows
all the files older (or the same age as) reference-file.
Tim.
*/
msg05365/pgp00000.pgp
Description: PGP signature
