tar -hc src/ | ssh target.machine 'tar -xC /path/to/remote'
- will create /path/to/remote/src/ on the target machine with symlinks replaced by their targers
Utoljára aktív
Copy to remote with SSH & tar
tar -hc src/ | ssh target.machine 'tar -xC /path/to/remote'