[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TAR Syntaxe



Pierre GAILLY <pgailly@alphacsp.com> writes:

> What is the syntax of the exclude option with tar
> "tar czvf /folder/file.tar / --exclude=/proc:/share" this expression
> doesn't exclude /proc from the source.

Have a look at tar's infopage, node "Excluding Some Files".

It says that the syntax is:

        --exlude=PATTERN

where PATTERN is a shell wildcard. It's not mentioned there that you
can give a colon seperated list of PATTERNs; you can give multiple
--exclude options.

	moritz
-- 
/* Moritz Schulte <moritz@hp9001.fh-bielefeld.de>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Reply to: