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
--
...
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
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
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
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?
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
6 matches
Mail list logo