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

Re: bashing



k i made the following script with your advice, and it (i'm not trying 
to be krass) actually worked!  i'm saying (that is), that i'm surprised 
that when i put it in, and hit enter i didn't mess it up!  however, 
there were two errors, line 3 & 4.  all i tested it on though, was one 
file that was tar'd.  i'll try two files tomorrow and see what happens.



#!/bin/bash
tar -cvpf /BloomCounty/archive/`date +'%Y_%m%d'`_SEMo_U.tar 
--exclude-caches --label="SEMo_U Full Backup" /BloomCounty/the.hole/
$ MYDATE=`date +%Y_%m%d`
$ gzip -9 ~/archive/${MYDATE}.tar


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.