iCloudドライブ/デスクトップのscpファイルをリモートで - OSX

iCloudドライブ/デスクトップのscpファイルをリモートで - OSX

私は通常、scpコマンドを使用してローカルとリモートの場所の間でファイルをコピーします。現在のファイルはデスクトップに保存されてい/iCloud \Drive/Desktop/fileますscp /iCloud \Drive/Desktop/file ssh myremotelocation。使用すると~/Desktop/file同じエラーが発生します。

私が試した正確なコマンド

1. scp /iCloud\ Drive/Desktop/myfile ssh alias@myremotelocation:/path/to/location
2. scp /"iCloud Drive"/Desktop/myfile ssh alias@myremotelocation:/path/to/location
3. scp ~/Desktop/myfile ssh alias@myremotelocation:/path/to/location 

Zshエラー:

1,2,3: iCloud Directory/Desktop/myfile : No such file of directory

ベストアンサー1

おすすめ記事