Linux shell scp directory folder has spaces

Add a slash before the space, and quote the entire file directory.

scp -r [email protected]:"/data/Google\ Security\ Patch/" /devdata/GoogleSecurityPatch/

Guess you like

Origin blog.csdn.net/gxhea/article/details/129047857