Re: tar and excluding a directory (solved)

2004-02-22 Thread Oliver Fuchs
On Sat, 21 Feb 2004, Roberto Sanchez wrote: This should be what you need: tar -czf root_bak-$(date +%Y%m%d).tar.gz / --exclude=/dev/* Yes exactly ... thank you for the example. I was confused about the exlude file passage in the man pages. So thanx again for your help. Oliver -- ...

Re: tar and excluding a directory (solved)

2004-02-22 Thread Oliver Fuchs
On Sat, 21 Feb 2004, Patrick Wiseman wrote: I think what you're looking for is --exclude==PATTERN which excludes files (remember that, in UN*X, everything's a file, including directories) which match the pattern. I always substitute 'v' for 'c' the first time I run a tar command, to make

tar and excluding a directory

2004-02-21 Thread Oliver Fuchs
Hi, I want to tar the whole / tree but want to exclude the /dev directory. In the man pages I only found how to exclude single files. Is there a chance to exclude a whole directory using the tar command? Oliver -- ... don't touch the bang bang fruit -- To UNSUBSCRIBE, email to [EMAIL

Re: tar and excluding a directory

2004-02-21 Thread Patrick Wiseman
On Sat, 21 Feb 2004 at 3:05pm, Oliver Fuchs wrote: :I want to tar the whole / tree but want to exclude the /dev directory. In :the man pages I only found how to exclude single files. Is there a chance :to exclude a whole directory using the tar command? Not to start the whole info vs man thing

Re: tar and excluding a directory

2004-02-21 Thread Richard Lyons
On Saturday 21 February 2004 16:07, Patrick Wiseman wrote: [...] (I detest info; I particularly detest the tar info, which requires multiple levels of digging to find anything.) Hear! Hear! -- richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

Re: tar and excluding a directory

2004-02-21 Thread Roberto Sanchez
Oliver Fuchs wrote: Hi, I want to tar the whole / tree but want to exclude the /dev directory. In the man pages I only found how to exclude single files. Is there a chance to exclude a whole directory using the tar command? Oliver This should be what you need: tar -czf root_bak-$(date