Results 1 to 3 of 3
  1. #1
    You can show and hide invisible . files (dotfiles) in the Finder using the defaults command in the Terminal:
    Show all:
    defaults write AppleShowAllFiles '1'
    Hide all:
    defaults write AppleShowAllFiles '0'
    Then relaunch the Finder:
    kill -1 `ps auxc | grep Finder | awk '{print $2}'`

    If the invibility bit has been set by another method than prepending a . before the filename, you may be better off with an application that can hide/show these files/folders that have an 'invisible' flag set:
    (Yes, there is an English version.)

    Making files invisible
    It is also possible to selectively make files & directories invisible rather easily.

    If the file/directory to be made invisible is on the root level, the easiest solution is probably to add 'dirname' (where 'dirname' is the file/directory to be hidden) to the .hidden file that lists items on the root level of the boot volume (/) to keep hidden from the Finder. Then relaunch the Finder to affect the change. Lanuch and issue these commands exactly as they appear below:
    sudo -s
    cp -p /.hidden /.hidden.default
    echo 'dirname' >> /.hidden
    kill -1 `ps aucx | grep Finder | awk '{print $2}'`

    Alternately, if you have the Developer Tools installed, you can set the directory's invisbility bit:
    /Developer/Tools/SetFile -a V /dirname

    If it is a non-root level directory to be made invisible, the command would be along these lines:
    /Developer/Tools/SetFile -a V /Volumes/drivename/dirname
    This will set the visiblity bit of the named file/directory on the non-boot drive, thus making it invisible to the Finder.

  2. #2

    Fluid's Avatar
    Member Since
    Dec 23, 2002
    15" iMac 700 MHz G4 640 MB
    Thanks for the tip! HeHe "Invisify" HeHe

  3. #3

    rman's Avatar
    Member Since
    Dec 24, 2002
    Los Angeles, California
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Thanx for the tip.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 10-04-2015, 02:28 PM
  2. Deleted "duplicate" files from All Images in Finder
    By crystalm45 in forum OS X - Operating System
    Replies: 2
    Last Post: 12-19-2012, 11:16 AM
  3. Finder window opens to "All My Files" every time?
    By AJP24 in forum Apple Desktops
    Replies: 2
    Last Post: 04-21-2012, 03:36 PM
  4. Hidden "Invisible" Files in Finder
    By j.daniels in forum OS X - Operating System
    Replies: 1
    Last Post: 10-26-2010, 02:09 PM
  5. What are the Finder's hidden "._[file name]" files for?
    By remain in forum OS X - Operating System
    Replies: 2
    Last Post: 01-31-2007, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts