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

Re: rsync's --exclude= syntax

Not sure if this helps Doc, but you can configure a ~/.rsync/exclude file to list the files to exclude

Example here;

http://sial.org/howto/rsync/#s5 (scroll down to number 5.)

On 4/14/07, Robert G. (Doc) Savage <dsavage@peaknet.net> 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:


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???


To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.

What lies ahead of us and what lies behind us is nothing compared to what lies within us. -- Ralph Waldo Emerson