Re: taking advantage of filles in folder other than destination
On Mon 05 May 2008, rssrik wrote:[color=blue]
> I found a solution last night. The following command works,
> rsync -az --compare-dest=../20080101/ 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.[/color]
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>.[/color]
It's all in the manpage...
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: [url]https://lists.samba.org/mailman/listinfo/rsync[/url]
Before posting, read: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]