[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Backup
- Subject: [ale] Backup
- From: glasher at nycap.rr.com (Glenn C. Lasher Jr.)
- Date: Tue, 28 Aug 2001 13:04:00 -0400 (EDT)
On Tue, 28 Aug 2001, Arafat wrote:
> Could someone please help me out?
>
> I need to run a script that will backup a directory to a network drive once
> every day. With one added detail. If the file I'm backing up is called
> myfolder then the backup file should be
> //mynetworkdrive/myfolder.yy.mm.dd.time
>
> Anyone know how I can do this? Also, I need to do this on both a linux and a
> windoze box.
Can't help you with the Wind Blows side, but on the Linux box, you can:
cp myfolder //mynetworkdrive/myfolder.`date +"%Y.%m.%d.%H%M%S"`
Does that help?
--
glasher at nycap.rr.com
After 163 days, Verizon still couln't deliver Telocity DSL.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.