Click the magnifying glass icon in the upper-right corner to open the Spotlight search bar. Type Terminal in the search bar. Click Terminal. app.

The “~” symbol at the beginning of the command is a shortcut for your home directory. Type “pwd” and press Return to find out your home directory (it’s usually “users/” followed by your Mac username. ) You can enter your home directory in place of “~”. To navigate to a folder within your iCloud Drive, enter the name of folder at the end of the change directory command. For example, use “cd ~/Library/Mobile\ Documents/com~apple~CloudDocs/Downloads” to navigate to your Downloads folder in iCloud Drive.

To change back to your home directory, simply type “cd ~” and press Return.

Alternatively, you can use the “cd” command to change directories to iCloud Drive. Then just type “ls” and press Return.

Alternatively, you can use the “cd” command to change directories to iCloud Drive. Then just type “ls” and press Return.

For example, if you wanted to copy a file from your desktop to your iCloud Drive, you would type something like cp ~/Desktop/filename. txt ~/Library/Mobile\ Documents/com~apple~CloudDocs

For example, if you wanted to copy a file from your desktop to your iCloud Drive, you would type something like cp ~/Desktop/filename. txt ~/Library/Mobile\ Documents/com~apple~CloudDocs

For example, if you wanted to move a file from your pictures folder to your iCloud Drive, you would type something like mv ~/Pictures/filename. jpg ~/Library/Mobile\ Documents/com~apple~CloudDocs

For example, if you wanted to move a file from your pictures folder to your iCloud Drive, you would type something like mv ~/Pictures/filename. jpg ~/Library/Mobile\ Documents/com~apple~CloudDocs

For example, you would type rm ~/Library/Mobile\ Documents/com~apple~CloudDocs/filename. zip to delete a zip file in your iCloud Drive.

For example, you would type rm ~/Library/Mobile\ Documents/com~apple~CloudDocs/filename. zip to delete a zip file in your iCloud Drive.

For example, to create a directory called “Images” in your iCloud Drive, you would use the “cd” command to change directories to your iCloud Drive. Then you would type mkdir Images and press Return. You can also create and edit text files from within the Terminal.

alias icloud=‘cd ~/Library/Mobile\ Documents/com~apple~CloudDocs’

You can add more aliases to your “. bash_profile” document to simplify other Terminal commands. Just use the following format: “alias =‘Terminal command.

You can add more aliases to your “. bash_profile” document to simplify other Terminal commands. Just use the following format: “alias =‘Terminal command.