Pierre GAILLY <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */

Reply via email to