Skip to content

Tag: scp

SCP gives “File or directory not found”

I am having an issue. I am using the SCP command to transfer files from my desktop of my mac osx too my virtual server. The thing is I ran the command and successfully transferred one file from my desktop over to the server, no problem. So i use the same command which is: scp filename_I_want_to_transfer user@…

scp a folder to a remote system keeping the directory layout

I have a large directory tree with hundreds of nested sub-folders. I need to copy only 4 folders and their contents to a remote system, but I need to destination folder structure to be kept the same. E.G. I want to copy ./test/sub1/subsub1/* to a target such as user@system:~/test/sub1/subsub1/* but I do not w…