image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 30th, 2007, 02:12 PM
Hippo Man
 
Join Date: Dec 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Hippo Man is on a distinguished road
Getting hand-created directories to show up in Finder

I'm running Leopard on a MacBook Pro.

I'm relatively new to the Mac, but I came from the Unix world, and I'm very much at home in the Terminal. Therefore, I often am creating directories by hand there, using mkdir.

This works fine, but then, many of these directories don't show up in the Finder. For example, I have created a number of trees under /usr/local, but I can't seem to find them in the Finder. I have tried all sorts of things with file ownerships and permissions (chown and chmod), but none of my attempts have succeeded at making my directories Finder-visible.

Clearly, there's some MacOSX-ish stuff going on here that I don't understand. Could someone point me to some docs that will tell me how to make my directories show up in the Finder once I create them in the Terminal with mkdir?

Thanks in advance.
.
Reply With Quote
  #2  
Old November 30th, 2007, 02:26 PM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,413
Thanks: 12
Thanked 81 Times in 65 Posts
nixgeek will become famous soon enough
Those directories are hidden in the Finder. In order to see them, you have to select to Go to Folder from the Go menu and put in the path of the directory in the root of the drive like /etc or /usr. This is done to prevent regular users to delete these files in the event that they think they don't need them.

You could also create aliases either on your desktop or in the sidebar to these directories so that you don't have to go to that menu option all the time.
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
  #3  
Old November 30th, 2007, 02:32 PM
Hippo Man
 
Join Date: Dec 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Hippo Man is on a distinguished road
Quote:
Originally Posted by nixgeek View Post
Those directories are hidden in the Finder. In order to see them, you have to select to Go to Folder from the Go menu and put in the path of the directory in the root of the drive like /etc or /usr. This is done to prevent regular users to delete these files in the event that they think they don't need them.

You could also create aliases either on your desktop or in the sidebar to these directories so that you don't have to go to that menu option all the time.
Thank you very much. Actually, I had managed to figure out how to get to these directories via Go to Folder, but I'm wondering if there is a way to un-hide them so that they start showing up in the Finder. No one besides me is using my MacBook, and I already know not to delete /etc, /usr, and other important system directories. Having them accessible in the Finder without my having to make explicit aliases for them would be quite convenient.
.
Reply With Quote
  #4  
Old November 30th, 2007, 02:39 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Posts: 7,405
Thanks: 0
Thanked 2 Times in 2 Posts
Giaguara is on a distinguished road
As /etc /usr and /var contain a lot of things that are better kept there and untouched, it would be better to just cp or mv those folders to ~/.
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #5  
Old November 30th, 2007, 02:50 PM
Hippo Man
 
Join Date: Dec 2006
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Hippo Man is on a distinguished road
Quote:
Originally Posted by Giaguara View Post
As /etc /usr and /var contain a lot of things that are better kept there and untouched, it would be better to just cp or mv those folders to ~/.
Well, thanks, but I want to touch them. I've done Unix sysadmin work for almost 20 years, and I don't need to be protected from myself ... especially on my own laptop that no one shares with me.

Based on the fact that nixgeek used the word "hidden" in his message to me, I searched via Google using "unhiding files" and "macosx", and I just now learned out how to make /etc, /usr, /var, and anything else I desire visible in the Finder.

I won't post the answer here, because it seems like the general Mac-world consensus is to not give people too many ways to potentially shoot themselves in the foot unless they really need it. However, anyone who wants to know how to do this can perform the same Google search.

... or you can send me a private message.

Thanks again to all.
.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:27 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.