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
> 






-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


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

Reply via email to