On Mon 05 May 2008, rssrik wrote: > > I found a solution last night. The following command works, > rsync -az --compare-dest=../20080101/ 20080102/ > rsync://<REMOTEHOST>/<SHARENAME>/<20080102>/ > > On adding / to the source directory name, only the contents of that > directory gets created in the target. The workaround is to directly specify > the required Directory Name in the TARGET URL itself.
Nothing new, that's what I had in my original posting. As I sais, as you didn't show what the values were of the variables you used in your version, I could not say exactly what to do. > One more request, is there any document which explains the syntax of rsync > and its params in detail. It could be more useful, If you link me to one > <with man pages I couldnt get the syntax correctly>. It's all in the manpage... Paul Slootman -- 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