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 mak
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
--
... d
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 +%Y%m%d).ta
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". Troub
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 ag
5 matches
Mail list logo