Sending files and directories using scp -
i want send following files computer remote computer using scp
.
directory1 file1 file2 directory2 file3 file4 ...
how can send file1
, file2
, etc. such saved same directories on remote computer on computer (e.g. directory1
, directory2
created on remote computer , directory2
contains file3
, file4
)?
copy directory "foo" local host remote host's directory "bar"
scp -r foo your_username@remotehost.edu:/some/remote/directory/bar
the -r tells copy recursively.
Comments
Post a Comment