Skip site navigation (1)Skip section navigation (2)
Date:      31 Jan 2006 09:58:55 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Ensel Sharon <user@dhp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: excluding a particular filename from rsyncing ... help
Message-ID:  <443bj4sats.fsf@be-well.ilk.org>
In-Reply-To: <Pine.LNX.4.21.0601300254200.8684-100000@shell.dhp.com>
References:  <Pine.LNX.4.21.0601300254200.8684-100000@shell.dhp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ensel Sharon <user@dhp.com> writes:

> Every night I rsync a directory tree from one system to another.  Easy.
> 
> However there is a particular set of files that could exist anywhere in
> that  directory at any depth, and it is unknown how many there are at any
> given time.  I want to make sure that rsync skips over those files
> regardless of where they ae, how deep they are, or how many there are.
> 
> How can I do this on the command line, with rsync ?

See the "Filter Rules" section of the rsync manual.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443bj4sats.fsf>