I would like to know best way to copy directory structure from one server(Linux) to another:
- without root user
- servers are not connected (e.g. can't use SSH directly between them)
- I need to copy only folders and subfolders, without files
- permissions 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.
tar
file) ? – steve yesterday