exclude confusion: what does it match against?

John Van Essen vanes002 at umn.edu
Wed Mar 31 02:52:47 GMT 2004


On Tue, 30 Mar 2004, Francis Montagnac <Francis.Montagnac at sophia.inria.fr> wrote:
> 
>> Example cmd: rsync -a --relative /home/me /dest
>> Source root: /home
> 
> I think it's instead:
> 
> Source root: /
> 
> Am i wrong?

Remember - we are talking about the transfer root, not the
filesystem root or partition root.

The source transfer root is the source path with any trailing
node removed up to the last slash.  If the source path *ends*
with a slash, then nothing is removed and the source path
*is* the transfer root.
-- 
        John Van Essen  Univ of MN Alumnus  <vanes002 at umn.edu>



More information about the rsync mailing list