

Open the Script Editor (Script Editor.app) and place the following AppleScript instructions in its window To hide the files again, paste the line into the terminalĭefaults write AppleShowAllFiles 0 & killall Finder You will now be able to see hidden files both in the Finder and in file open dialogs in various applications.

htaccess file (this file may contain some behavioral settings for the Apache web server)? I can suggest 3 ways to solve this issue.ĭefaults write AppleShowAllFiles 1 & killall Finder The rule also applies that any file whose name has a dot (.) as the first character is hidden.īut what if you still need to see hidden files? For example, in a text editor, do you need to change the instructions in the. In the case of MacOS X, this applies to directory and application configuration files, files deleted in the trash, Spotlight indexing data, and a number of other files. If you have been working with computers for a long time, then you know that operating systems often hide from the user's eyes service information that they need to work, but useless for someone who works with the system. You can notice this either by running a special `ls -la` command in the terminal, or by connecting any removable media (flash, hdd) that you worked with from MacOS X to another system (for example, MS Windows) - you probably you will be surprised that there are much more files and folders than you expected to see. After working with MacOS X for a while, you may at some point find that the system is hiding something from you.
