I generally use the scp command to copy files between local and remote locations. I saved my current file on my Desktop but it seems to be stored in /iCloud \Drive/Desktop/file . When I try to scp this to remote using the command scp /iCloud \Drive/Desktop/file ssh myremotelocation it gives me an error - file not found. Using ~/Desktop/file gives same error.
Exact commands I tried
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 Errors:
1,2,3: iCloud Directory/Desktop/myfile : No such file of directory