[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rsync's --exclude= syntax
I can never remember the delimiters for this either, so I use
--exclude-from=FILE to read exclude patterns from FILE (one pattern per
line).
--fitz
On Saturday 14 April 2007 19:07, Robert G. (Doc) Savage wrote:
> As is so often the case with Linux/UNIX utilities, the man page for
> rsync lacks the syntax details to make the --exclude= option work. I'm
> trying to avoid rsyncing the following remote files and directories:
>
> .cgf-stage/
> .stage-cgf/
> mail-archives/
> tmp/
> .message
> SYNC_STAMP.txt
>
> The following variations do NOT work:
>
> --exclude='./.cgf-stage/ ./.stage-cgf/ ./mail-archives/ ./tmp/ ./.message
> ./SYNC_STAMP.txt' --exclude='.cgf-stage/ .stage-cgf/ mail-archives/ tmp/
> .message SYNC_STAMP.txt'
>
> What will???
>
> --Doc
>
>
>
>
>
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.