Skip to main content
Correct formatting
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

Unix/Linux

reclusive copy of files and folders over a secure shell using the

code following:

scp -r <host@machine_name:from_remote_directory_path> <to_local_directory_path>

#<host@machine_nameUnix/Linux recursive copy of files and folders over a secure shell using the code following:from_remote_directory_path>

example; sizwe@hprobook:./home/sizwe/PycharmProjects

#<to_local_directory_path>

example; ./home/immaculate/OtherPycharmProjects

full example might look like;

scp -r <host@machine_name:from_remote_directory_path> <to_local_directory_path>

scp -r sizwe@hprobookA full example might look like:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

scp -r sizwe@hprobook:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

#NoteNote if you do not have a DNS server to resolve hostnames, use

your IP address instead. The example above might look like this

scp -r 192.168.43.167:./home/sizwe/PycharmProjects your IP address instead./home/immaculate/OtherPycharmProjects The example above might look like this

scp -r 192.168.43.167:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

Unix/Linux

reclusive copy of files and folders over a secure shell using the

code following:

scp -r <host@machine_name:from_remote_directory_path> <to_local_directory_path>

#<host@machine_name:from_remote_directory_path>

example; sizwe@hprobook:./home/sizwe/PycharmProjects

#<to_local_directory_path>

example; ./home/immaculate/OtherPycharmProjects

full example might look like;

scp -r sizwe@hprobook:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

#Note if you do not have a DNS server to resolve hostnames, use

your IP address instead. The example above might look like this

scp -r 192.168.43.167:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

Unix/Linux recursive copy of files and folders over a secure shell using the code following:

scp -r <host@machine_name:from_remote_directory_path> <to_local_directory_path>

A full example might look like:

scp -r sizwe@hprobook:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

Note if you do not have a DNS server to resolve hostnames, use your IP address instead. The example above might look like this

scp -r 192.168.43.167:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects
Source Link
Sizwe
  • 141
  • 1
  • 2

Unix/Linux

reclusive copy of files and folders over a secure shell using the

code following:

scp -r <host@machine_name:from_remote_directory_path> <to_local_directory_path>

#<host@machine_name:from_remote_directory_path>

example; sizwe@hprobook:./home/sizwe/PycharmProjects

#<to_local_directory_path>

example; ./home/immaculate/OtherPycharmProjects

full example might look like;

scp -r sizwe@hprobook:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects

#Note if you do not have a DNS server to resolve hostnames, use

your IP address instead. The example above might look like this

scp -r 192.168.43.167:./home/sizwe/PycharmProjects ./home/immaculate/OtherPycharmProjects