I am trying to copy some files via command line to the icloud drive
This is I have done:
cd '/Users/antkong/Library/Mobile Documents/com~apple~CloudDocs'
cp -r ~/Download .
Then I got a lot of 'No such file or directory' error messages. Here are some of them:
cp: ./Downloads/python-docs-samples-master/translate: No such file or directory
cp: /Users/antkong/Downloads/python-docs-samples-master/translate: unable to copy extended attributes to ./Downloads/python-docs-samples-master/translate: No such file or directory
cp: ./Downloads/python-docs-samples-master/translate/cloud-client: No such file or directory
cp: /Users/antkong/Downloads/python-docs-samples-master/translate/cloud-client: unable to copy extended attributes to ./Downloads/python-docs-samples-master/translate/cloud-client: No such file or directory
cp: ./Downloads/python-docs-samples-master/translate/cloud-client/quickstart.py: No such file or directory
cp: ./Downloads/python-docs-samples-master/translate/cloud-client/quickstart_test.py: No such file or directory
I have double-checked and I am certain the local files exist.
In console, I set the filter to 'icloud' and I see these logs:
default 12:07:57.409443 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:02.507858 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:07.757674 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:12.858678 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:18.105600 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:23.300585 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:28.403153 +1100 com.apple.iCloudHelper MacOS error: -67050
default 12:08:33.548442 +1100 com.apple.iCloudHelper MacOS error: -67050
Why the copying has failed?