Hiding Folder on Partition HDD

Discussion in 'Mac OS X Lion (10.7)' started by ParryD, Jun 19, 2012.

  1. ParryD macrumors member

    Joined:
    May 16, 2010
    #1
    Hi,

    I have just bought Macbook with Mac OS X 10.7.3, last week.

    I have created a partition named "Macintosh HD 2".

    Now am trying to hide one of backup folders on this partition through terminal but unable to do the same.

    Kindly assist me relevant terminal commands or any other way of hiding folders/ files on Mac.
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    To show hidden files in Finder, enter the following two commands into a Terminal window (press enter after each line):
    defaults write com.apple.Finder AppleShowAllFiles TRUE
    killall Finder​

    Then create a folder with a name beginning with a period: .New Folder

    To hide hidden files in Finder, enter the following two commands into a Terminal window (press enter after each line):
    defaults write com.apple.Finder AppleShowAllFiles FALSE
    killall Finder​

    The newly-created folder will be hidden.

    You an also use Secrets preference pane to hide/show hidden files/folders, instead of Terminal commands.
     
  3. rupam.db macrumors member

    Joined:
    May 29, 2012
    #3
    You can use this Apple script app to toggle files or folders
    No need to set a filename beginning with period
     

    Attached Files:

  4. ParryD thread starter macrumors member

    Joined:
    May 16, 2010
    #4
    Thanks GGJstudios & rupam.db, will work around as per your suggestions & get back.

    In the meanwhile, can you also assist me with another issue related with downloading widgets for dashboard posted here.
     
  5. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #5
    I responded in that thread.
     

Share This Page