File/Direcory Names with Spaces
I'm trying to get a file from another machine using scp. The path of the remote file is:
/mnt/windows/Documents and Settings/A R/Desktop/Schedule Spring 2004.doc Now I did the following command at the terminal for the scp: scp abc@xx.xx.xx.xxx:/mnt/windows/Documents and Settings/A R/Desktop/Schedule Spring 2004.doc [I obviously put the ip in place of the x's] It seems linux wants a particular syntax for directory and file names with spaces. Can someone please tell me what scp syntax I should use for this file? Thanks |
Try putting quotes around the spaced file name....
/mnt/windows/"Documents and Settings" |
Nope, it doesn't work with the quotes either. Same problem ie. it only gets the part before the space.
Any other suggestions? |
just a guess - not sure about scp - but did you try backslashes before the spaces:
as in: /Documents\ and\ Settings/ |
All times are GMT -5. The time now is 11:05 PM. |