How to Open External Hard Drive on Mac with Terminal [2024 Tips]

My G5 is connected to an external HD from a previous 15 PB via USB (2.3). How can I use the terminal to access it? The HD doesn't show up when I run an ls command for desktop items, despite the fact that it has an icon there. There are some files there that I want to get back to Trash.

Best Answered by

Jaden· Answered on Apr 16, 2024

First, you should use the Applications Folder to open the Terminal on Mac. Remember that your Mac's essential programs and utilities are located in this section of the Finder. One of them is Terminal, which you can access by following these instructions:

Step 1. Go to Finder on your Mac.

Step 2. Locate and open the Applications Folder.

Step 3. Navigate to the Utilities Folder.

Step 4. To launch the Terminal, locate it and double-click on it.

It needs to be GUID. To use Terminal to open the external hard drive on Mac, the most straightforward method is to enter the command cd to open the external hard drive on Mac, followed by a space, drag the external icon onto the Terminal window, and then press the return key. After cd, you can use the mount command to determine the path. After that, you should be able to find the. Trash the folder and perform any necessary copying or shifting there.

The Terminal enables you to handle your external hard disk on Mac. Simply type the necessary Terminal command, then press "Return". The app will promptly carry out the desired instruction. However, the Terminal won't display any warnings while running any orders.

If you failed to launch the commands following the above method, try selecting the Hitachi disk in Disk Utility and performing an Erase formatting it in HFS+ with GUID. You can give the single partition whatever name you like—once more, run your Terminal command.

Therefore, make a backup of your Mac before using Terminal to prevent data loss from the unintentional execution of the remove command. In any data loss incident, the backup ensures you may restore data. And let's say you neglected to back up your data and used some risky commands, which led to a data loss catastrophe. In that situation, data recovery software can still help you recover deleted files on Mac.

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.