<div dir="ltr"><div><div><div><div>Hello everyone,<br><br></div>I'm new to this mailing list but I have been using rsync for some years up to now.<br></div>I'm trying to synchronize two directory trees, but I want a special behavior that I didn't find on the net nor in the manual (or maybe there is a combination of options to get what I want but I couldn't find it).<br><br></div>Tree A is like:<br><br></div>A<br>  *<br>  *<br><div><div>   FolderA<br>  *<br>  *<br><br>And tree B (on a remote filesystem) is like:<br><br></div><div>B<br></div><div>  *<br>  *<br>  *<br><div>   FolderB<br>  *<br>  *<br><br clear="all"></div><span style="color:rgb(102,102,102)"></span><br></div><div>I have to synchronize everything in one rsync run, like <br></div><div>rysnc  -arv  A/  B/<br><br></div><div>but I want FolderA to be synchronized with FolderB. <br>They must contain the same files but have a different name! I want something like a "directory name translation" in the rsync run...<br></div><div>Is it possible? Do you see any another way of doing this? (A part of using two rsync runs....)<br></div><div>Please let me know if I didn't explain the problem correctly or you need further information.<br></div><div>Thank you for your attention and time.<br></div><div>Best regards.</div><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(102,102,102)"><i>_______________<br><br>Gionata Boccalini</i></span><br></div></div></div></div>
</div></div></div></div></div></div>