tar cvzf backup.tar.gz `ls -a` or just go up one directory and tar.gz that
On Wednesday 11 September 2002 08:24 am, Simon Naish wrote: > try this > > tar -cvzf `ls -A` backup.tar.gz > > should work ok > > :o) > > si > > > ----- Original Message ----- > From: Davor Cengija <[EMAIL PROTECTED]> > Date: 11 Sep 2002 12:57:19 +0200 > To: Mandrake Mailing List <[EMAIL PROTECTED]> > Subject: Re: [expert] Tar file question > > > On Tue, 2002-09-10 at 10:24, Phil wrote: > > > Hello All, > > > > > > Recently my bacon was saved through the use of backup files. However, I > > > lost some of my hidden config files. > > > > > > Is it possible to archive hidden files with tar? This how I created a > > > backup, and hidden files are not included. > > > > > > tar cjf archive.tar.bz2 * > > > > copy all the files you want to backup in a directory and tar/bzip thar > > directory, tar cfvj archive.tar.bz2 bkpdir > > > > > > > > > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com -- Brandon Long Northern Michigan Online [EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
