Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Filini

macrumors newbie
Original poster
Jan 17, 2009
25
0
Hi, how I can see hidden folders (/bin/, /etc/) in Finder??
 
Open Terminal

Type:

defaults write com.apple.Finder AppleShowAllFiles YES

Press Enter

Type:

killall Finder

Press Enter

To hide the files repeat but replace YES with FALSE
 
Open Terminal

Type:

defaults write com.apple.Finder AppleShowAllFiles YES

Press Enter

Type:

killall Finder

Press Enter

To hide the files repeat but replace YES with FALSE

Thx to advice, but maybe instead of "YES" use "TRUE"??))

To hide the files repeat but replace YES with FALSE

"FALSE" - why not "NO"???
 
Hi, how I can see hidden folders (/bin/, /etc/) in Finder??

The command is, SetFile

SetFile -v filename
SetFile -V filename

The lower case v is to makes folders visible and the capital V is to make the folder invisible.

Edit: Just in case you didn't know you use this command in the Terminal.app
 
If you don't want to see those folders all the time, another alternative is to use the command line & from there you can open individual folders with Finder, for example: open /bin
 
Thx to advice, but maybe instead of "YES" use "TRUE"??))

"FALSE" - why not "NO"???

Yes, No True, False, they are all boolean terms and mean the same thing.

If you want something simpler, try this simple AppleScript I made (it saves you having to type in the commands every time)
 

Attachments

  • Show Hidden Files.zip
    21.3 KB · Views: 141
use Finder's "Go to folder" menu item

I can not believe someone has not mentioned the easiest solution.
From Finder, use the "Go" menu. Select the "Go to folder" (keyboard shortcut is shift+command+G). Type in the path, for example /usr/bin/.
 
you have to see the folder (the name at least) to get to it. :D

login as root
ls -l
 
Yes, No True, False, they are all boolean terms and mean the same thing.

If you want something simpler, try this simple AppleScript I made (it saves you having to type in the commands every time)

Great script))thx
But I can't understand...in the start body script exist this is strings:
----------------------------------------------------------------------------
if the_answer is "Show" then
tell application "Terminal"
activate
do script "defaults write com.apple.Finder AppleShowAllFiles YES"
do script "killall Finder"
quit
--------------------------------------------------------------------------------
string eqv "hands mode" how it was writed top:
in terminal type:
defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder

QUESTION:
with script - it worked(I can see hidden files in Finder)
in "hands mode" - DON'T WORKED!!!(hidden files still hidden)

WHY?????
 
Great script))thx

No problem man glad someone is enjoying it ;)

But I can't understand...in the start body script exist this is strings:
----------------------------------------------------------------------------
if the_answer is "Show" then
tell application "Terminal"
activate
do script "defaults write com.apple.Finder AppleShowAllFiles YES"
do script "killall Finder"
quit
--------------------------------------------------------------------------------
string eqv "hands mode" how it was writed top:
in terminal type:
defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder

QUESTION:
with script - it worked(I can see hidden files in Finder)
in "hands mode" - DON'T WORKED!!!(hidden files still hidden)

WHY?????

Sorry man, you are going to have to help me out here. Either you are speaking in some pretty broken English or you actually understand way more about code that I do, and some of what you just said went way over my head :D

All I can tell you without a better translated (or less technical) question is this: just run the application itself (Show Hidden Files.app) and it should work just fine. From what I could find about the "string eqv" (something I am not familiar with) it sounds like you are trying to convert the strings of code or something? Perhaps whatever compiler or coding language you are trying to use is not actually executing the commands in terminal? I honestly don't know, I am very new to programming in OSX (or any other "real" coding for that matter; all I know is TI-84 [a graphing calculator] and very basic Applescript :rolleyes:). As I said before, just run Show Hidden Files.app and you will be fine. If you are still curious try saying this another way so I might get your meaning better.

p.s. I am not trying to be an ******* or anything about the whole translation thing. I guess I am just another typical ignorant American, lol :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.