* Dave Selby <[EMAIL PROTECTED]> [2003-01-19 12:10]:

> 
> #! /bin/sh
> 
> # Backup entire 'myfiles/' directory, name it with the date.
> 
> cd /usr/local/
> tar -czf /mnt/archive/autoarchive/date myfiles
> 
  tar czf <path_to_backup>/`date +%Y%m%d-%H%M`.backupmyfiles.tar.gz
  tar cjf <path_to_backup>/`date +%Y%m%d-%H%M`.backupmyfiles.tar.bz2
                           *                 *
                           note the inverted accents!

  results in                20030119-1213.backupmyfiles.tar.bz2
                           
  I would make use of the second form since the files get remarkably
  smaller!


wbr,
Lukas
-- 
Lukas Ruf
http://www.lpr.ch
Wanna know anything about raw ip? 
Join [EMAIL PROTECTED] on http://www.rawip.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to