So I used SSH to remotely login to another computer on a network. I have many files that I would like to copy over to my local desktop. I am trying to follow this How-to :   However, I think one of the problems is that I may not know what goes in place of /home/name/dirI tried using scp scp rrtigga@pc35.cs.ucdavis.edu:CPUTimer.h /Users/Spicycurryman/DesktopBut then I got this error: /Users/Spicycurryman/Desktop: No such file or directory
How to copy a file from a remote network to the local desktop
bash;shell;ssh;command line;scp
You don't have to give an absolute path to scp the easiest way to deal with this is to go where you want to put things and use scp rrtigga@pc35.cs.ucdavis.edu:CPUTimer.h . (. refers to the current directory), or give a relative path like Desktop. You can also use ~/Desktop to refer to the Desktop directory within your home directory from anywhere.If you have lots of files to copy from one place, you may find rsync more convenient:rsync -avx rrtigga@pc35.cs.ucdavis.edu:foo .That will copy the entire foo directory and its contents to the current directory.