Unhide Library folder on external HDD

Discussion in 'Mac OS X Lion (10.7)' started by rstepa, Aug 10, 2011.

  1. rstepa, Aug 10, 2011
    Last edited: Aug 10, 2011

    macrumors newbie

    Joined:
    Aug 10, 2011
    #1
    Hi,

    Long story short; Lion corrupted my disk, so i'm moving back to SL. I'm going to restore my HDD back to the state before I installed Lion. However before doing so i'd like to recuperate all the "new" files i created while using Lion.

    Some of these files are located in my library folder.

    How do you unhide the library folder when it's located on an external HDD rather than in your Home folder.

    Hope this question makes sense, if you guys need more details please let me know.
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    This is easy to do with the Terminal, no matter WHERE the ~/Library folder is located. There's a terminal command called chflags, which is what you need to use here. It takes 2 arguments: flag to set or unset, and the file/folder to perform the operation on. The flag you want is nohide. To get the folder name, drag and drop the parent folder of the Library folder you wish to unhide to the Terminal window (this could be the root of the external drive), then append /Library to the end of that path you get, removing the space Terminal inserts for you at the end.

    To summarize, and give an example:
    Let's say your external is called "External HDD", and the Library folder in question is located within a folder on that disk called "rstepa". In that case, the full command would be:
    Code:
    chflags nohide /Volumes/External\ HDD/rstepa/Library
    Also worth noting is that this method works on a stock Mac OS X installation - no additional software is required.
     
  3. thread starter macrumors newbie

    Joined:
    Aug 10, 2011
    #3
    Thanks for a timely and clear explanation wrldwzrd89! :)

    that thing you mention of dragging the folder in order to get it's path is a nice trick :)
     

Share This Page