2013-08-22 30 views
-1

路徑在文件夾名稱中有空格,所以我使用通配符:「*」使用PSCP將其中的5個文件夾移動到Linux。似乎無法使用PSCP將通配符從DOS遷移到Linux?

pscp C:\Public\SMoch\hot*testing*8*20*13\. [email protected]:. 

pscp C:\Public\SMoch\hot testing 8 20 13: No such file or directory 

我能cd到它在DOS:cd C:\Public\SMoch\hot*testing*8*20*13\ ...作品

不知道我在做什麼毛病PSCP?

回答

1

在Windows中使用路徑時,請嘗試使用雙引號。 「C:\此路徑中有空格」當

+0

當我嘗試:pscp「C:\ Public \ SMoch \ hot testing 8 20 13 \ *」[email protected] :.產生「不是普通文件」的結果。但是,如果我用「_」替換空格,它一切正常。 – jdl

+0

SWEET! GJ,兄弟。 – UberDoyle