LoginSignup
2
0

More than 1 year has passed since last update.

Macにてアプリ設定内容やログを探す

Posted at

Macにてアプリ設定内容やログを探すための参考情報です。

Macでは、システム向け/ユーザ向けなどの適用対象毎にディレクトリが分かれており、
さらにその中で設定内容やログなどの用途毎にディレクトリが細分化されています。

例えば、システム向け設定ファイルユーザ向け設定ファイル をみてみると
以下の通り、<設定ファイル>という意味を示す名称は共通となっています。

  • システム向け設定ファイル
    /System/Library/Preferences

  • ユーザ向け設定ファイル
    ~/Library/Preferences

以下を参考にしてアプリの設定内容を確認したり、見つけた情報からさらにGoogle等で検索すると新たな情報を見つけることができます。

適用対象と用途毎のディレクトリ名称

  • 適用対象毎のディレクトリ(システム向け/ユーザ向けなど)
適用対象 ディレクトリ名
システムデータ /System/Library/
ユーザ共通データ /Library/
ユーザ固有データ ~/Library/
App Storeなどで配布されているアプリのユーザ固有データ ~/Library/Containers/<パッケージ名>/Data/Library/
  • 用途毎のディレクトリ(設定ファイル/ログなど)
用途 ディレクトリ名
ユーザがログインしていなくても起動するバックグラウンドプログラム LaunchDaemons
ユーザがログインした時に起動するバックグラウンドプログラム LaunchAgents
ログが保存されるディレクトリ Logs
アプリケーション固有のデータやプラグインなどが保管されるディレクトリ Appication Support
アプリケーションの設定が保存されるディレクトリ Preferences

具体的なフォルダ一覧

Application Support
/Library/Application Support
~/Library/Application Support
~/Library/Containers/<パッケージ名>/Data/Library/Application Support/
Preferences
/System/Library/Preferences
/Library/Preferences
~/Library/Preferences
~/Library/Containers/<パッケージ名>/Data/Library/Preferences
LaunchDaemons
/System/Library/LaunchDaemons
/Library/LaunchDaemons
LaunchAgents
/System/Library/LaunchAgents
/Library/LaunchAgents
~/Library/LaunchAgents
Logs
/Library/Logs/
~/Library/Logs/
~/Library/Containers/<パッケージ名>/Data/Library/Logs

具体例

参考資料/具体例

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0