scp -r foo username@remotehost.com:/some/remote/directory/bar copy local directory 'foo' to remotehost's bar directory. use ~/ as remote directory if you want to copy to the user's home folder
scp -r foo username@remotehost.com:/some/remote/directory/bar
More information about formatting options
Loading...
Cannot wait? Visit me on Twitter. And how about a follow, huh?.
Add your comment