[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] copy with dynamic rename



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.