samedi 27 décembre 2014

How to access iCloud drive from Terminal in Mac OS recovery


I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my backup.


I am aware that normally, the iCloud drive directories are located at ~/Library/Mobile Documents/com~apple~CloudDocs. Unfortunately this directory does not appear when using Terminal in recovery mode (there appears to be no Mobile Documents in Library).


My questions are thus:



  1. Is there any way I can access iCloud drive directories from Terminal in Mac OS recovery mode (i.e. after booting up while holding down cmd + r)?

  2. How can I copy all files in a given folder (including all subfolders) into an iCloud drive directory using a Terminal command?


Should it not be possible to log into iCloud drive using Terminal, Dropbox would be an alternative.



Aucun commentaire:

Enregistrer un commentaire