Jon,

Well, since Gerald was kind enough to help me out with some
programming, here's my opportunity to give back in kind :-)
The following Perl script will do what you want, as I don't
know of any tar command that will.

Run this script as a cron job.

Miark


--- The following line is the first line of the script ------
#!/usr/bin/perl

$precious_data = "~/whatever"; # What do you want to backup?
$archive_dir   = "~/wherever"; # In which dir do you store backups?

$date = `date +%m-%d-%y`;  chomp($date);
$archive_file = "backup-${date}.tar.gz";
$archive_path = $archive_dir . "/" . $archive_file;
$tar_command = "tar -czf $archive_path $precious_data";

exec $tar_command;

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to