I'm trying to copy a file from a remote computer to my local desktop. The file is located at path /Library/Application Support/EFI
.
In the Terminal, I ssh to the computer, type in cd /
to get to the root directories, then I type the command in the following format:
scp username@hostname:Library/Application Support/EFI/[file name] /Users/[home directory]/Desktop
I keep getting the message, "No such file or directory."
What am I doing wrong?
The problem is the spaces in the path to the file.
An example follows:
scp user@host:"/home/user/my\\ directory/file" .
would copy the file from the following path on the server: /home/user/my directory/file to where you currently stand.