On Tue, 26 Mar 2002 19:50:09 -0500 Hanan Shargi <[EMAIL PROTECTED]> wrote:
> Jhon, > > Wold you do me a favoure and post that script ? <if you dont mind that is> > > :) > > --------------------- > Hanan AL-Shargi I don't mind at all. Just keep in mind that this is a simple backup for my bookmarks and a couple other things, not an entire system or home directory backup. I'm sure there are plenty of better ways to accomplish this also. This just happens to be one that I figured out on my own (aside from the date thing :)) #!/bin/sh backupname="backup-$(date +%m-%d-%y)" mkdir /home/jon/backup/sylpheed/ mkdir /home/jon/backup/gaimlogs/ cp /home/jon/.netscape/bookmarks.html /home/jon/backup/ cp /home/jon/.gaim/logs/* /home/jon/backup/gaimlogs/ cp /home/jon/.kde2/share/apps/konqueror/bookmarks.xml /home/jon/backup/ cp /home/jon/.sylpheed/* /home/jon/backup/sylpheed/ tar -czf $backupname.tar.gz backup rm -r /home/jon/backup/*
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
