Find File/Sherlock. Hold down the option key when you click the name option. This will allow you to use the visibility option. Once you locate the file use either 'File info" command in resedit or Nortons Fast Find to change the files visability status.
Under Mac OS 8.1, when an invisible desktop database item, is dragged to the trash, the warning dialog says "You must restart your Macintosh and immediately empty the trash." Trying to drag any other invisible file somewhere will produce the message "Invisible Files cannot be moved."
Under Mac OS 8.5, the Sherlock application disables drags when invisible items are displayed, since they cannot be moved. When the menu item "Move to Trash" is selected, the warning dialog says "Invisible items cannot be left in the trash. Do you want to delete them immediately?"
The messages and actions are somewhat different between Mac OS 8.1 and Mac OS 8.5, but the behavior is still appropriate and also improved, in that a restart is no longer required. Since the files are being deleted immediately, open files cannot be removed in this fashion.
Desktop database files, being always open on every mounted volume, cannot be deleted. These files do not need to be deleted entirely and probably should not be, now that Get Info comments are being stored in the desktop database. The process of rebuilding the database files at Finder startup time, is the proper way to manipulate these files. The drastic procedure of making them visible and moving them to the trash now has the potential of causing user data loss (Get Info comments). Thus these files should never be deleted directly anymore.
The new Sherlock application can delete invisible "icon" files of a custom folder icon and the "AppleShare PDS" file, when file sharing / AppleShare is not active.
Tip#5The Desktop Database and Invisible files
Many Macintosh users aren't aware that in addition to the files that you see in the Finder, on your desktop, and in folders, there are other files on your hard drive that are normally invisible. These files are invisible because there is usually no reason to do anything with them except to let them do their job.
Why have invisible files? Apple has done a real good job of letting Macintosh users have access to what they need and keeping them from changing things that might cause problems or would otherwise confuse things. One way they have done this is to make certain files invisible so that there is no way to accidentally move or delete them.
What are some invisible files and what do they do? There are a number of invisible files on the Macintosh you are using right now. Have you ever seen a folder on a Mac that has an icon that has been customized to look like something other than a normal Mac folder? What someone has done is pasted a custom icon into the 'Get Info' window for that folder. What they have really done is created a small invisible file called 'Icon' on their hard drive that is linked to that folder.
Another set of invisible files are those related to Open Transport or Classic Networking on any non-PCI Mac running 7.5.3 or later. Without getting into the details of both of these networking setups you can either run one or the other. When you are using one, the other's control panels, etc. are made invisible as to not to confuse the user.
Another set of invisible files are those related to the Desktop Database which we will discuss a little later.
Some software companies make parts of their software invisible if there is no reason for the user to need access to them. You will notice some invisible files related to ATM (Adobe Type Manager) in one of the screen shots below.
How can I see these invisible files? There is a way to see which invisible files you have on your hard drive. The easiest way to take a look at what is invisible on your hard drive it to use Apple's Find File that comes with System 7.5.x.
If you press Command-F when in the Finder you should get a Find File window. This is Apple's tool for searching your hard drive. If you hold your mouse button down on the pop-up menu on the left side that contains the word name you will see other options for searching such as size, kind, file type, etc. But, if you hold down the option key before opening the pop-up you will see a few extra options, the last one being 'Visibility'. Upon selecting 'Visibility' the other settings should change to 'is' and 'Invisible' as shown below.
If you perform this search on your hard drive you will receive results like this:
Notice the many invisible files that have been hiding from you all this time.
Why should I care about invisible files? Most invisible files you will never have any reason to care about. There are a few that you may want to know about. Those are the files related to your Desktop Database.
What is the Desktop Database? Imagine that every time you double clicked a document on your hard drive that your Mac had to sort through every file it had looking for the program that created it. This could be a lengthy process on a small hard drive let alone the one and two gigabyte drives that are common one new machines. So what Apple devised is a system of keeping track of what is on your hard drive so that when it needs to see what is there it can just look it up in the database. The Desktop Database stores information about all the files on your hard drive and keeps the links between your documents and the programs that created them. It is also what handles giving your documents and programs their custom icons.
What else does the Desktop Database contain? In addition to keeping track of the things mentioned above, it also holds most of the information that can be seen in the get info window (select a file, then select Get Info from under the File menu). It holds the positioning of each icon in the Finder windows. It also contains the comments that can be entered in the 'Get Info' window.
Is the Desktop Database why I keep having those generic icons? Being that the Desktop Database is what keeps the information about giving your files and programs those icons that we have gotten used to seeing, when it is not up to date or has been damaged you can end up with icons like the ones below.
Is there a way I can rebuild my desktop? If you are having problems with icons not showing up properly, or if the program that created a document isn't opening when you double click the document, you may have an out of date or damaged Desktop Database. The first way to rebuild your desktop is to hold down both the Option and the Command keys when you start up your computer. Keep holding them down until you get the message asking you if you want to rebuild the desktop on your particular drive and click OK. You will notice a progress bar that will have the words 'Rebuilding the Desktop' in it. Once completed your icons should show up properly and the appropriate programs should launch when their documents are double clicked.
What if the Command-Option method doesn't fix my problem? There are a couple of options at this point for what may be going on.
First of all there may be more serious damage to your Desktop Database or your hard drive. At this point I would suggest running Disk First Aid to verify your hard drive to make sure it doesn't have any more serious problems going on.
Secondly you may want to use something like TechTool a free utility from MicroMat to actually delete your Desktop Database and force your Mac to make a new one from scratch. This should get rid of any damage there might be to those files.