Using scp on a directory/file with spaces
The protocol when copying/moving a file that has spaces in the filename in a terminal window is to use “\ “, or
cp ~/some\ directory/some\ thing.zip ~/destination/
Oddly enough, scp doesn’t employ the same protocol. Instead, I’ve found that this works:
scp 'myname@location:"~/some directory/some thing.zip" ' ~/destination/
That is, wrap the entire call after scp in single quotes, and the path in double quotes
Or an easy solution: don’t put spaces in filenames or directories