why does this rsync commands copy again the same files?

M. Fioretti mfioretti at nexaima.net
Thu Nov 22 21:55:24 UTC 2012


On Thu, Nov 22, 2012 22:44:25 PM +0100, Reindl Harald wrote:

> > IIRC, adding a trailing slash /media/Verbatim/photo/ would cause
> > another "photo" folder to appear inside /media/Verbatim/photo/,
> > which is not what I want
> 
> i am using rsync since many years in any environment
> for backups, for sync folders, for sync TB's of data all over the world
> 
> adding a trailing slash /media/Verbatim/photo/ would cause
> NEVER EVER another "photo" folder to appear inside /media/Verbatim/photo/

Harald,

I am sure you have more experience than me. I said "IIRC". If my
specific explanation above, which I plucked out from memory in a rush,
is the wrong one, OK, no problem.

However, I do remember that this thing of having the trailing slash in
the source, but not in the destination, is something I have read in
many places as the thing to do, and this is the first time I hear
speaking against it.

I'm not "attacking" you in any way, of course. Just saying that I am
puzzled, because I had never heard of such an issue before.

Back on topic, why do you think there may be some link between this
issue and the problem I see? My problem seems more due to some wrong
option, because a) it is the only problem I see, never had any filled
partition, and b) it is very, very constant. Sorry if I forgot to
specify this earlier, but if I run the command on two different
drives, both vfat, both times the folder(s) that are recopied are the
same.

So it is either something weird in the permissions or other metadata
of those folders only, or some wrong option in the command. But what?

TIA,
Marco


More information about the users mailing list