
To access the data from your iCloud Drive, use the following command.Ĭd ~/Library/Mobile\ Documents/com~apple~CloudDocs/ Use “False” instead of “True” in the above command to hide files again. Before deleting anything, run a Google search. Now you will get to see all the hidden files.Ī word of caution: Don’t delete important system files.

The solution for this is the below Terminal command that lets you view hidden files.ĭefaults write AppleShowAllFiles -bool TRUE However, the feature becomes a limitation whenever you want to view hidden files on an external drive. The fail-safe mechanism assures that you don’t delete a system file by mistake. Interestingly you can also change the extension of the output file. In other words, you need to mention the origin and target file names. Specify the origin in the source folder name. Swap Output folder name.zip with the desired name. You need to navigate to Desktop and select the folder using the below command. Using Terminal, you can compress and password-protect the folder.
#MAC OPEN TERMINAL IN CURRENT FOLDER PASSWORD#
You can share the password separately with recipients. I recommend password-protecting sensitive data before sharing it with anyone. Note: If you want to download the contents to any other directory, replace “downloads” with the directory name.Ĭurl -O 6. This method is useful only if you have a direct download link. Want to download a file directly? With Terminal, you can download a file directly from the Internet.

However, it is easier to use Terminal to keep your Mac awake with the following command. Of course, you can change Sleep Settings in System Preferences.

It is annoying when your Mac goes to sleep when you are off for a short break.
#MAC OPEN TERMINAL IN CURRENT FOLDER HOW TO#
Now, let’s see how to get most of Terminal! 12 macOS Terminal commands to supercharge your Mac experience 1.

Let’s start with the basics! How to open Terminal on Mac However, I’ve a useful list of macOS Terminal Commands that you can learn easily and do things instantly. This tool is often overlooked as it is different from the GUI (Graphical User Interface), offering a rich interface. Terminal is a CLI (Command Line Interface), the language we type which interacts with the Mac. Although Terminal commands may seem intimidating to carry out, they aren’t! Once you know them, you can quickly perform tasks like shutting down your Mac or copying contents from one place to another in a few clicks. Terminal is one of the most powerful macOS apps, allowing you to perform actions with different commands.
