[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] copy with dynamic rename
- Subject: [ale] copy with dynamic rename
- From: esoteric at atlnet.com (Wandered Inn)
- Date: Fri, 22 Sep 2000 07:12:37 -0400
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.