How I can see hidden folders

Discussion in 'macOS' started by Filini, Jan 21, 2009.

  1. Filini macrumors newbie

    Filini

    Joined:
    Jan 17, 2009
    #1
    Hi, how I can see hidden folders (/bin/, /etc/) in Finder??
     
  2. CMelton macrumors regular

    CMelton

    Joined:
    Dec 8, 2008
    Location:
    London, UK
    #2
    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
     
  3. Filini thread starter macrumors newbie

    Filini

    Joined:
    Jan 17, 2009
    #3
    Thx to advice, but maybe instead of "YES" use "TRUE"??))

    "FALSE" - why not "NO"???
     
  4. lostngone macrumors demi-god

    lostngone

    Joined:
    Aug 11, 2003
    Location:
    Anchorage
    #5
    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
     
  5. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #6
    defaults write com.apple.finder AppleShowAllFiles True; killall Finder
     
  6. macrem macrumors 65816

    macrem

    Joined:
    Mar 11, 2008
    #7
    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
     
  7. illegallydead macrumors 6502a

    illegallydead

    Joined:
    Oct 22, 2007
    Location:
    Colorado!!!
    #8
    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)
     

    Attached Files:

  8. shwc macrumors regular

    Joined:
    Jul 2, 2005
    #9
    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/.
     
  9. Ploki macrumors 68000

    Joined:
    Jan 21, 2008
    #10
    you have to see the folder (the name at least) to get to it. :D

    login as root
    ls -l
     
  10. Watabou macrumors 68040

    Watabou

    Joined:
    Feb 10, 2008
    Location:
    United States
  11. Filini thread starter macrumors newbie

    Filini

    Joined:
    Jan 17, 2009
    #12
    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?????
     
  12. illegallydead macrumors 6502a

    illegallydead

    Joined:
    Oct 22, 2007
    Location:
    Colorado!!!
    #13
    No problem man glad someone is enjoying it ;)

    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
     

Share This Page