image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old January 31st, 2003, 09:41 PM
Registered User
 
Join Date: Jan 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
typo180 is on a distinguished road
[FAQ] "Hidden" Files

There are a few files on my iMac that I downloaded using Aquisition, but they don't appear in the folder they are supposedly in. I can find them using Shelock 2 in OS9, and they can be uploaded through auisition, but I they don't show up in the OSX Finder at all. How do I delete them?
Reply With Quote
  #2  
Old February 2nd, 2003, 02:16 AM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
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}'`
Reply With Quote
  #3  
Old February 2nd, 2003, 02:21 AM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
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...ch=hide+folder
or
http://www.tice.de/m4e/a_software/c_invisibles.html
(Yes, there is an English version.)
Reply With Quote
  #4  
Old February 2nd, 2003, 09:39 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
Making files invisible

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

If the file/directory 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 "invisify" the named file/directory on the non-boot drive, making it invisible to the Finder.
Reply With Quote
  #5  
Old February 20th, 2003, 11:53 PM
Arden's Avatar
Don't drink and derive.
 
Join Date: Dec 2002
Location: San Francisco
Posts: 7,743
Thanks: 0
Thanked 0 Times in 0 Posts
Arden is on a distinguished road
Furthermore, Tinkertool (free; http://www.versiontracker.com/morein...d=11967&db=mac) lets you modify many aspects of your Aquatic experience, including file visibility, through a System Preference pane.
__________________
System:
2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 200 GB hard drive, runs 10.5.4
1.6 GHz iMac G5, 1.5 GB RAM, 250 GB hard drive, runs 10.4.11
iPhone, 4 GB, OS X 2.0.2
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for Mac OSX mod player (to play it, s3m and mod files) Ifrit Mac OS X System & Mac Software 3 January 27th, 2003 07:03 PM
moving my itunes files to another location Numbers1820 Mac OS X System & Mac Software 2 December 20th, 2002 10:02 PM
Native FTP program? bighairydog Apple News, Rumors & Discussion 17 November 30th, 2001 02:31 PM
Solution: OS X creating "." files on Samba shares dricci Apple News, Rumors & Discussion 0 November 21st, 2001 11:23 PM
Editing plain old text files Allan Crowson Mac OS X System & Mac Software 6 December 4th, 2000 11:19 AM


All times are GMT -5. The time now is 05:07 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.