Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Problem viewing files on my external hard drive
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="usagora" data-source="post: 1807839" data-attributes="member: 60390"><p>Ok, so I have a procedure for you on accessing your external HD through Terminal. Here are the commands you'll need:</p><p></p><p><strong>cd</strong> (change directory)</p><p><strong>cd ..</strong> (move back one directory)</p><p><strong>ls</strong> (list)</p><p><strong>open</strong></p><p></p><p>1. Open Terminal.</p><p></p><p>2. Type <strong>cd /Volumes/ExternalHDName</strong> but replace <strong>ExternalHDName</strong> with the actual name of your external HD as it shows on the desktop. If the name has spaces in it, you'll need to type a back-slash before each space. For example, if your external HD is named Extra Storage, you'll need to enter it in Terminal as <strong>Extra\ Storage</strong>.</p><p></p><p>3. Now you can type <strong>ls</strong> and then hit Enter to list the contents of your external HD root directory. To navigate to a sub-directory, simply type <strong>cd</strong> followed by the directory name (remember to use back-slashes before spaces in directory names) then hit Enter. To move back to the previous directory, simply type <strong>cd ..</strong> then hit Enter.</p><p></p><p>For example, let's say you have a file named <strong>Bank Accounts.docx</strong> on your external HD that you have been unable to open using Finder. The drive structure is as follows:</p><p></p><p>Extra Storage</p><p>--Photos</p><p>--Music</p><p>--Important Files</p><p>----Banking</p><p>------Bank Accounts.docx</p><p></p><p>Here's how you would navigate to the directory that file is in and open it with Terminal (hit Enter after each line of command of course):</p><p><span style="font-size: 12px"><span style="font-family: 'Courier New'"><strong></strong></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Courier New'"><strong>cd /Volumes/Extra\ Storage/Important\ Files/Banking</strong></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Courier New'"><strong>open Bank\ Accounts.docx</strong></span></span></p><p></p><p>If you then want to navigate to the Photos directory, you would enter:</p><p></p><p><span style="font-size: 12px"><strong><span style="font-family: 'Courier New'">cd ../Photos</span></strong></span> </p><p>(moves you back to previous directory (the root directory in this case), then into the Photos sub-directory</p><p></p><p>If you then wanted to list all directories and files within the Photos directory, you would simply type <strong>ls</strong> then hit enter.</p><p></p><p>etc.</p><p></p><p>Give that a try to see if you can open a file that you have been unable to transfer or otherwise access. Hope that helps.</p></blockquote><p></p>
[QUOTE="usagora, post: 1807839, member: 60390"] Ok, so I have a procedure for you on accessing your external HD through Terminal. Here are the commands you'll need: [B]cd[/B] (change directory) [B]cd ..[/B] (move back one directory) [B]ls[/B] (list) [B]open[/B] 1. Open Terminal. 2. Type [B]cd /Volumes/ExternalHDName[/B] but replace [B]ExternalHDName[/B] with the actual name of your external HD as it shows on the desktop. If the name has spaces in it, you'll need to type a back-slash before each space. For example, if your external HD is named Extra Storage, you'll need to enter it in Terminal as [B]Extra\ Storage[/B]. 3. Now you can type [B]ls[/B] and then hit Enter to list the contents of your external HD root directory. To navigate to a sub-directory, simply type [B]cd[/B] followed by the directory name (remember to use back-slashes before spaces in directory names) then hit Enter. To move back to the previous directory, simply type [B]cd ..[/B] then hit Enter. For example, let's say you have a file named [B]Bank Accounts.docx[/B] on your external HD that you have been unable to open using Finder. The drive structure is as follows: Extra Storage --Photos --Music --Important Files ----Banking ------Bank Accounts.docx Here's how you would navigate to the directory that file is in and open it with Terminal (hit Enter after each line of command of course): [SIZE=3][FONT=Courier New][B] cd /Volumes/Extra\ Storage/Important\ Files/Banking open Bank\ Accounts.docx[/B][/FONT][/SIZE] If you then want to navigate to the Photos directory, you would enter: [SIZE=3][B][FONT=Courier New]cd ../Photos[/FONT][/B][/SIZE] (moves you back to previous directory (the root directory in this case), then into the Photos sub-directory If you then wanted to list all directories and files within the Photos directory, you would simply type [B]ls[/B] then hit enter. etc. Give that a try to see if you can open a file that you have been unable to transfer or otherwise access. Hope that helps. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Problem viewing files on my external hard drive
Top