Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Invisible files made visible. Won't go invisible again

  • Please log in to reply
2 replies to this topic

#1 Devashis


  • Members
  • 2 posts
  • Local time:06:00 PM

Posted 23 July 2014 - 03:45 AM

Hi all,


I followed the Tutorial "How to see hidden files on a Mac". Everything worked like a charm until I tried to reverse the process and those pesky files will not hide themselves again. Can anyone help me?

BC AdBot (Login to Remove)


#2 Devashis

  • Topic Starter

  • Members
  • 2 posts
  • Local time:06:00 PM

Posted 23 July 2014 - 04:54 AM

Okay so I figured it out all by myself. If anyone else has the same problem this is why:


The tutorial says to use this command in Terminal: defaults write com.apple.Finder AppleShowAllFiles FALSE


but you should use the command: defaults write com.apple.finder AppleShowAllFiles FALSE     


i.e. no capital 'F' in 'finder'. Then it works perfectly. :)

#3 NinjaGamingXD


  • Members
  • 16 posts
  • Gender:Male
  • Local time:10:00 AM

Posted 23 July 2014 - 03:00 PM




In Mac OS X 10.3 and earlier, these items are made hidden (invisible) by listing them in a file named ".hidden" at the root level of the Mac OS X volume. Mac OS X 10.4 and later do not use this method to hide files. Instead, Mac OS X 10.4 and later hide files by setting certain attributes in the files themselves. However, in some circumstances these attributes are not preserved when you create, restore or Netinstall a disk image.

To avoid the issue, make sure that the computer used to create the disk image is running Mac OS X 10.4.3 or later, and that you perform a block-copy restore. In general, this means selecting the option to erase the destination disk when performing a restore or Netinstall. For more information on block-copy vs. file-copy restores, open Terminal and type: man asr .

If these files are visible on the target machine after restoring or NetInstalling, you can make them invisible again with these steps:

Important: These steps must be performed while started up in Mac OS X 10.4.6 or later.

1. Insert your Mac OS X 10.4 installation disc. 
2. Open Terminal and type the following commands, each on one line:

cd /Volumes/Mac\ OS\ X\ Install\ DVD/

cd System/Installation/Packages/OSInstall.mpkg/Contents/Resources/

sudo ./SetHidden / hidden_MacOS9

Note: Do not type type any command other than what's presented in this article. Also, restart the machine after the command has been given.

Note: If the name of your installation DVD is not "Mac OS X Install DVD", substitute the name of your disc in the first command of step 2 above, or drag the disc's icon to the Terminal window after typing the first "cd " command to set the initial path.

Note: You can also copy the "SetHidden" file from the Installation DVD to a local directory. If you copy it, be sure that you also copy the "hidden_MacOS9" file to the same location. This file contains the list of files to mark as invisible.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users