nomadscene.blogg.se

Finding icloud drive on mac command line
Finding icloud drive on mac command line









  1. Finding icloud drive on mac command line how to#
  2. Finding icloud drive on mac command line install#

You could even take this one step further and create a Dev folder (or whatever folder you need) within the com~apple~CloudDocs folder, to keep those files housed within their own directory. With the symlink created, gaining access to the com~apple~CloudDocs directory only requires you enter the newly created symbolic link, with the command cd ~/iCloud.

  • Create the symlink with the command ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs iCloud.
  • Change into your home directory with the command cd.
  • Instead of having to always change into that com~apple~CloudDocs directory, which can be a bit frustrating to remember that full path, we can create a symlink in your user home directory, such that you can simply type cd ~/iCloud to change into the correct directory. Once created, they can be accessed by any device that is connected to your iCloud account. At this point, you can create and edit text files that are then automatically saved to your cloud account. This is the folder that is synced with your iCloud account. The above command will change you into, you guessed it, your iCloud root folder. Open up the terminal app and then issue the command:Ĭd ~/Library/Mobile\ Documents/com~apple~CloudDocs How is this possible? It’s all about working within the right directory.

    Finding icloud drive on mac command line install#

    Once you have that taken care of, you can sync all of your terminal work without much of a hassle, and without having to install third-party software. Of course, this trick does require that you have your Apple iCloud account setup and working. And since macOS comes complete with the Nano text editor, it’s quite adept at filling a niche need.īut what if you want all of that terminal work to be saved to the cloud? Believe it or not, thanks to iCloud, it’s pretty easy. After all, it is a great tool for developing, scripting, working with configuration files, or just creating flat text notes.

    finding icloud drive on mac command line

    If you’re a macOS power user–especially a developer–chances are you use the terminal app.

    finding icloud drive on mac command line

    Finding icloud drive on mac command line how to#

    Jack Wallen shows you how to make this easy.

    finding icloud drive on mac command line

    Working within the terminal window doesn't mean you can't keep your code, configuration files, or text files in sync with your iCloud account. How to access your local iCloud folder from the terminal











    Finding icloud drive on mac command line