[Going through old email.  I wanted to confirm whether there was an
rsync bug here.]

On Wed, 2010-02-03 at 18:16 -0500, Ryan Flannery wrote:
> The command I'm using is this:
>    rsync -avz --delete --delete-excluded --exclude-from=foo.txt  /etc/
>  $dest:path
> 
> Where foo.txt contains either:
>    hide,/ /etc/passwd
> or
>    hide,/s /etc/passwd
> or
>    -/ /etc/passwd
> or
>    -/s /etc/passwd
> 
> In either case, the file /etc/passwd is always transferred to $dest:path

--exclude-from only supports a file of plain exclude patterns.  Use
--filter='. foo.txt' instead.

-- 
Matt

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to