On Wednesday 17 November 2010 12:16:48 Helmut Jarausch wrote: > Hi, > > I have two problems with rsync > > 1st) if I give both commandline options -u and -c > it looks as if a file which is more recent but different > on the destination is not updated, i.e. -u overrules -c > Is that true? > > 2nd) There is a symlink A on <SourceDir> which refers to a directory > On the other hand, A is the name of a (real) subdirectory of > <DestDir> > > Now doing > rsync -auHz --delete --exclude=/A <SourceDir>/ <DestDir>/ > does remove A on <DestDir> - why ?
I don't know the answer to your 1st question, but I think that the answer to your 2nd question is that A on the <DestDir> is removed because of the -- delete option. According to the man page: --delete delete extraneous files from dest dirs. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.