I would like to know best way to copy directory structure from one server(Unix) to another (Linux):without root userservers are not connected (e.g. can't use SSH directly between them)I need to copy only folders and subfolders, without filespermissions on folders must also bi transferred So i have user@server1 with some directory structure. I need to copy this structure to user@server2 without files, with same permissions. Users on both servers have same permissions and are in the same group, servers are not connected. Edit:  I forgot to mention that server1 is Unix, and server 2 is Linux. So when I try to execute proycon's code on Unix server I got message: tar: Not a recognized flag: z When I try Tom Hunt's option I got message: -printf is not a valid option. Also, worth to mention, user have different names, although they have same rights and are in same group. So I have user_xy@server1 and user_zx@server2
How to copy directory structure from one server to another without root user?
permissions;directory;file copy;archive