Results 1 to 3 of 3
  1. #1
    gatorparrots
    Guest
    You can show and hide invisible . files (dotfiles) in the Finder using the defaults command in the Terminal:
    Show all:
    defaults write com.apple.finder AppleShowAllFiles '1'
    Hide all:
    defaults write com.apple.finder 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:
    http://www.versiontracker.com/mp/new_searc...rch=hide+folder
    or
    http://www.tice.de/m4e/a_software/c_invisibles.html
    (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 Terminal.app and issue these commands exactly as they appear below:
    sudo -s
    cp -p /.hidden /.hidden.default
    echo 'dirname' >> /.hidden
    exit
    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
    "Invisify" files and directories in the Finder
    Fluid's Avatar
    Member Since
    Dec 23, 2002
    Location
    California
    Posts
    454
    Specs:
    15" iMac 700 MHz G4 640 MB
    Thanks for the tip! HeHe "Invisify" HeHe

    Fluid@Mac-Forums.com

  3. #3
    "Invisify" files and directories in the Finder
    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    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
    Talking
    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: 1
    Last Post: 02-16-2015, 02:40 AM
  2. Deleted "duplicate" files from All Images in Finder
    By crystalm45 in forum OS X - Operating System
    Replies: 2
    Last Post: 12-19-2012, 10: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, 02:36 PM
  4. Hidden "Invisible" Files in Finder
    By j.daniels in forum OS X - Operating System
    Replies: 1
    Last Post: 10-26-2010, 01: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, 01: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
  •