On Tue, 2003-10-21 at 13:59, Ow Mun Heng wrote: > >>but how can i 'cp' (copy) stating the current date and append it to the > >>name of the folder ex. 'evolution-10-21-2003' > > Try something like this.. > > Create a bash script > > with something like (may need some serious tweaking.. my bash skills are > not very good) > > $date=date //## trying ~$ $data=date bash: =date: command not found //##searching for the date ~$ whereis date date: /bin/date /usr/share/man/man1/date.1.gz //##applying full path ~$ $date=/bin/date bash: =/bin/date: No such file or directory //## trying to type only date at the prompt ~$ date Tue Oct 21 14:14:12 PHT 2003 > cp -R /home/folderx/ /mnt/backup/folderx.$date > > something like that.. I'm lazy to look at my Cron script.. If you really > need more help than that, I can mail you my backup script. > > (although I have serious issues on whether my script is a > incremental/differential backup... I've got to make a post on this to get my > facts right..) this date thing maybe a incremental backup > > > Cheers, .^. > Mun Heng, Ow /V\ > H/M Engineering /( )\ > Western Digital M'sia ^^-^^ > DID : 03-7870 5168 The Linux Advocate > > > > > -----Original Message----- > From: kent emia [mailto:kent-cdr@xxxxxxxxxxxxxxx] > Sent: Tuesday, October 21, 2003 1:57 PM > To: redhat-shrike > Subject: backup in crontab > > > > i made a simple backup in my evolution folder running at every 12 noon > this is ok. > > but how can i 'cp' (copy) stating the current date and append it to the > name of the folder ex. 'evolution-10-21-2003' > > tia > -- > kent emia <kent-cdr@xxxxxxxxxxxxxxx> > > > -- > Shrike-list mailing list > Shrike-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/shrike-list -- kent emia <kent-cdr@xxxxxxxxxxxxxxx> -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list