[ale] copy with dynamic rename

Wandered Inn esoteric at atlnet.com
Fri Sep 22 07:12:37 EDT 2000


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

> 
> 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.





More information about the Ale mailing list