LMSouq
server-admin Open

How do I escape spaces in path for scp copy in Linux?

AL
AlexPandiyan
1 month ago
3 views
Problem Description
I want to copy a file from remote to local system. Now I'm using scp command in linux system. I have some folders or files names are with spaces, when I try to copy that file, it shows the error message: "_No such file or directory_". I tried: scp ael5105@192.168.0.200:'/home/5105/test/gg/Untitled Folder/a/qy.jpg' /var/www/try/ I saw the some reference online but I don't understand perfectly, can any one help on this? how can I escape spaces in file name or directory names during copying...

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base