#mac

Viewing hidden files on a Mac

Macではドット”.”で始まるファイルやフォルダは隠しフォルダ、ファイルになるようです。 Finderで表示する方法を紹介します。 はるか昔のメモです。。

  1. ターミナルを開く(アプリケーション/ユーティリティ)
  2. 下記コマンドを叩いてreturnキーを押して実行
  3. ```plain defaults write com.apple.finder AppleShowAllFiles -bool true killall Finder ```
  4. ログアウト、あるいはkillall Finderで効果が見れます

隠しファイルを非表示にするには

上記と全く同じ手順で、コマンドを書き換えます。

defaults write com.apple.finder AppleShowAllFiles -bool false

English

Viewing hidden files on a Mac is useful for accessing the hidden UNIX directories or for recovering Music from an iPod. Additionally, by prefixing the name of a folder with a ‘.’, you can create a folder that is seemingly hidden from prying eyes.

To view hidden folders:

  1. Open the Terminal (located in /Applications/Utilities/)
  2. At the command prompt type
defaults write com.apple.finder AppleShowAllFiles -bool true

  1. Press return to execute the command.
  2. For the changes to take effect, either log out then log back in again, or relaunch Finder (this can be done from the Force Quit Window or by typing ‘killall Finder’ in a Terminal window).

To hide the hidden files again:

  1. Open the Terminal
  2. At the command prompt type
defaults write com.apple.finder AppleShowAllFiles -bool false

  1. then press return to execute the command.
  2. Log out then back in again, or relaunch Finder (explained above).
Qihuan Piao

Qihuan Piao

Originally from China and now living in Tokyo, I started this blog to practice English. Over the years, writing helped me find my own voice and explore thoughts about identity, life, and ordinary things that catch my curiosity. I mostly write for myself, but I love it when something here connects with someone else.

Meanwhile, what I wrote in Japanese

Multilingual Wordpress Plugin : qTranslate

June 21, 2010