Blog

Add a new blog
October 23

SCP command to transfer files/folders in Linux

Basic syntax of SCP scp source_file_name username@destination_host:destination_folder Example: user@localhost ~/Documents $ scp -v user.name@212.x.x.x:. Copy a Directory Recursively using SCP I often need to quickly copy a directory from one Linux machine to another. An easy command to accomplish the task is the SCP (Secure Copy) command. Here's the general format of a recursive copy. scp -r [/local/path/] [user@host]:[/remote/path] The -r switch causes scp to copy recursively....

Send us a message. We will reply as soon as we can.