[ale] copy with dynamic rename

Wandered Inn esoteric at atlnet.com
Fri Sep 22 07:17:02 EDT 2000


Wandered Inn wrote:
> 
> Andreas Köpp wrote:
> >
> > Hi!
> > I've got to copy and gzip all files of an directory with a cronjob but
> > the files got to be renamed in a way that the result looks like this:
> > originalname.<date>.gz
> 
> gzip < originalname > originalname.$(date '+%m%d%y').gz

To be Y3K prepared:

gzip < originalname > originalname.$(date '+%m%d%Y').gz

> 
> >
> > What is the best way to handle it?
> >
> > Thanks Andreas
> 
> --
> Until later: Geoffrey           esoteric at denali.atlnet.com
> 
> Microsoft != Innovation
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

--
Until later: Geoffrey		esoteric at denali.atlnet.com

Microsoft != Innovation
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list