[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rsync's --exclude= syntax
- To: silug-discuss@silug.org
- Subject: Re: rsync's --exclude= syntax
- From: "Tim Hart" <codermsu@gmail.com>
- Date: Sun, 15 Apr 2007 01:30:36 -0500
- DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ez0xH6oSafnzTJ3Tf+lZsOxU/FPgOCcO5NBDaFTK/KoYd5nkgb/o8n0PJQyTzYyPamXb1950ul/PArXQxiW/zU0bn+3REW336oktgQna/9dKZRMNZMli2LZt+OIJxhkRwyltWf6cxEOOORMv8DmyP0GWxi2XgVrV/OUQJKfuKkg=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SRoNzzZYj5GaPiGd82OyBqiYdFKCa1Rcj2UxRVqU3xdoraOCtoSZMj9YzTtuRmXkbw5+AfGUlik1uA13VkAN4+X4PjUYel0Fh24sXImCKyPBy6UgPW32mUHNccHN2cfavpegMyNbP77tjzNTnFEYsUj53qW0bFyFsaJ7La2jhf0=
- In-Reply-To: <1176595659.7308.14.camel@lioness.protogeek.org>
- Organization: Southern Illinois Linux Users Group
- References: <1176595659.7308.14.camel@lioness.protogeek.org>
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
you could try:
--exclude-from=~/.rsync/exclude
which is txt file with a pattern list separated by new-lines
tim
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:
>
> .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.