reclaimable 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.claude/launch.json +11 -0
- data/.gitignore +11 -0
- data/.gitlab-ci.yml +16 -0
- data/AGENTS.md +88 -0
- data/CLAUDE.md +1 -0
- data/Gemfile +3 -0
- data/LICENSE +674 -0
- data/README.md +160 -0
- data/Rakefile +28 -0
- data/ai-skill/reclaimable/SKILL.md +94 -0
- data/benchmark/README.md +59 -0
- data/benchmark/experiments/lstat_scanner.rb +11 -0
- data/benchmark/experiments/ractor_scanner.rb +92 -0
- data/benchmark/experiments/verify_bulk_list.rb +34 -0
- data/benchmark/lib/fixture.rb +104 -0
- data/benchmark/lib/results.rb +62 -0
- data/benchmark/reports/00-baseline.md +75 -0
- data/benchmark/reports/01-jit.md +70 -0
- data/benchmark/reports/02-ractor.md +58 -0
- data/benchmark/reports/03-getattrlistbulk.md +84 -0
- data/benchmark/reports/04-others.md +52 -0
- data/benchmark/reports/05-outside-root.md +56 -0
- data/benchmark/reports/06-round2-discussion.md +374 -0
- data/benchmark/reports/06-round2.md +194 -0
- data/benchmark/reports/README.md +46 -0
- data/benchmark/results/baseline.yml +126 -0
- data/benchmark/results/bulk-list.yml +126 -0
- data/benchmark/results/final-yjit.yml +126 -0
- data/benchmark/results/final.yml +126 -0
- data/benchmark/results/ractor-exp.yml +38 -0
- data/benchmark/results/round2-after.yml +126 -0
- data/benchmark/results/round2-before.yml +126 -0
- data/benchmark/results/src-baseline.yml +32 -0
- data/benchmark/results/src-bulk-list.yml +32 -0
- data/benchmark/results/src-pair-none1.yml +38 -0
- data/benchmark/results/src-pair-none2.yml +38 -0
- data/benchmark/results/src-pair-yjit1.yml +38 -0
- data/benchmark/results/src-pair-yjit2.yml +38 -0
- data/benchmark/results/src-ractor-exp.yml +32 -0
- data/benchmark/results/src-round2-after1.yml +52 -0
- data/benchmark/results/src-round2-after2.yml +52 -0
- data/benchmark/results/src-round2-before1.yml +52 -0
- data/benchmark/results/src-round2-before2.yml +52 -0
- data/benchmark/results/yjit.yml +126 -0
- data/benchmark/results/zjit.yml +126 -0
- data/benchmark/run.rb +149 -0
- data/bin/reclaimable +10 -0
- data/doc/performance.md +179 -0
- data/lib/reclaimable/ai_skill.rb +138 -0
- data/lib/reclaimable/bulk_list.rb +91 -0
- data/lib/reclaimable/cache_dump.rb +125 -0
- data/lib/reclaimable/cli.rb +168 -0
- data/lib/reclaimable/cloud_files.rb +33 -0
- data/lib/reclaimable/config.rb +100 -0
- data/lib/reclaimable/i18n.rb +24 -0
- data/lib/reclaimable/locations.rb +89 -0
- data/lib/reclaimable/output.rb +154 -0
- data/lib/reclaimable/paths.rb +36 -0
- data/lib/reclaimable/report.rb +504 -0
- data/lib/reclaimable/ruby_abi.rb +69 -0
- data/lib/reclaimable/scan_cache.rb +97 -0
- data/lib/reclaimable/scanner.rb +440 -0
- data/lib/reclaimable/util.rb +34 -0
- data/lib/reclaimable.rb +42 -0
- data/locale/ja/LC_MESSAGES/reclaimable.mo +0 -0
- data/man/reclaimable.1.ronn +302 -0
- data/man/reclaimable.en.1 +234 -0
- data/man/reclaimable.ja.1 +452 -0
- data/po/ja/reclaimable-docs.po +668 -0
- data/po/ja/reclaimable.po +510 -0
- data/rakelib/benchmark.rake +22 -0
- data/rakelib/docs/japanese.rb +132 -0
- data/rakelib/docs/man_page.rb +73 -0
- data/rakelib/docs/site.rb +187 -0
- data/rakelib/docs/sources.rb +94 -0
- data/rakelib/docs/translation.rb +157 -0
- data/rakelib/docs.rake +62 -0
- data/rakelib/gettext.rake +30 -0
- data/rakelib/i18n.rake +199 -0
- data/reclaimable.gemspec +56 -0
- data/site/index.md +142 -0
- data/site/layout.html.erb +60 -0
- data/site/style.css +82 -0
- metadata +231 -0
|
@@ -0,0 +1,668 @@
|
|
|
1
|
+
# Japanese translations of the reclaimable documentation (man page and website).
|
|
2
|
+
# Kitaiti Makoto, 2026.
|
|
3
|
+
msgid ""
|
|
4
|
+
msgstr ""
|
|
5
|
+
"Project-Id-Version: reclaimable 0.1.0\n"
|
|
6
|
+
"Report-Msgid-Bugs-To: \n"
|
|
7
|
+
"PO-Revision-Date: 2026-11-15 23:04+0900\n"
|
|
8
|
+
"Last-Translator: Kitaiti Makoto\n"
|
|
9
|
+
"Language-Team: Japanese\n"
|
|
10
|
+
"Language: ja\n"
|
|
11
|
+
"MIME-Version: 1.0\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
14
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
15
|
+
|
|
16
|
+
#. type: title
|
|
17
|
+
msgid "reclaimable(1) -- find what is eating disk space on your Mac, without deleting anything"
|
|
18
|
+
msgstr "reclaimable(1) -- Mac のストレージを圧迫しているものを洗い出す(何も削除しない)"
|
|
19
|
+
|
|
20
|
+
#. type: heading
|
|
21
|
+
msgid "SYNOPSIS"
|
|
22
|
+
msgstr "書式"
|
|
23
|
+
|
|
24
|
+
#. type: paragraph
|
|
25
|
+
msgid "`reclaimable` [`-n` <count>] [`-s` <mb>] [`-d` <directory>] [`-o` <directory>] [`-j` <threads>] [`--no-save`] [`--fresh`]"
|
|
26
|
+
msgstr "`reclaimable` [`-n` <件数>] [`-s` <MB>] [`-d` <ディレクトリー>] [`-o` <ディレクトリー>] [`-j` <スレッド数>] [`--no-save`] [`--fresh`]"
|
|
27
|
+
|
|
28
|
+
#. type: heading
|
|
29
|
+
msgid "DESCRIPTION"
|
|
30
|
+
msgstr "説明"
|
|
31
|
+
|
|
32
|
+
#. type: paragraph
|
|
33
|
+
msgid "**reclaimable** is a read-only command-line tool for macOS that lists what is taking up storage and what you can probably reclaim: regenerable caches, build artifacts, gems left behind by old Ruby versions, container disk images, large files, and Time Machine local snapshots. It sorts the findings by size."
|
|
34
|
+
msgstr "**reclaimable** は、macOS のストレージを何が使っているか、何を消せば空きそうかを一覧表示する、読み取り専用のコマンドラインツールです。再生成できるキャッシュ、ビルド成果物、古い Ruby 版の gem、コンテナのディスクイメージ、巨大ファイル、Time Machine のローカルスナップショットなどを、容量の大きい順に並べます。"
|
|
35
|
+
|
|
36
|
+
#. type: paragraph
|
|
37
|
+
msgid "It never deletes anything and never needs `sudo`. It only reads what the logged-in user can read, and leaves the decision of what to remove to you."
|
|
38
|
+
msgstr "何も削除せず、`sudo` も使いません。ログインユーザーが読める範囲だけを調べ、消すかどうかの判断は利用者に任せます。"
|
|
39
|
+
|
|
40
|
+
#. type: paragraph
|
|
41
|
+
msgid "It walks the start directory (your home directory by default) once, in parallel, and builds every section of the report from that single scan. Scan results are cached, so a second run skips directories that have not changed."
|
|
42
|
+
msgstr "起点のディレクトリー(既定はホーム)を並列に 1 回だけ走査し、その結果からレポートの全部の節を組み立てます。走査結果はキャッシュするので、2 回目からは変わっていないフォルダーの読み直しを省きます。"
|
|
43
|
+
|
|
44
|
+
#. type: paragraph
|
|
45
|
+
msgid "Messages and the report are in Japanese when your locale is Japanese, and in English otherwise. See [ENVIRONMENT][]."
|
|
46
|
+
msgstr "メッセージとレポートは、ロケールが日本語なら日本語、それ以外なら英語で表示します (「環境変数」の節を参照)。"
|
|
47
|
+
|
|
48
|
+
#. type: heading
|
|
49
|
+
msgid "OPTIONS"
|
|
50
|
+
msgstr "オプション"
|
|
51
|
+
|
|
52
|
+
#. type: definition term
|
|
53
|
+
msgid "`-n` <count>:"
|
|
54
|
+
msgstr "`-n` <件数>:"
|
|
55
|
+
|
|
56
|
+
#. type: paragraph
|
|
57
|
+
msgid "Number of entries shown in each ranking. Default: 20."
|
|
58
|
+
msgstr "各ランキングの表示件数。既定は 20。"
|
|
59
|
+
|
|
60
|
+
#. type: definition term
|
|
61
|
+
msgid "`-s` <mb>:"
|
|
62
|
+
msgstr "`-s` <MB>:"
|
|
63
|
+
|
|
64
|
+
#. type: paragraph
|
|
65
|
+
msgid "Smallest size, in megabytes, that counts as a \"large file\". Default: 1024."
|
|
66
|
+
msgstr "「巨大ファイル」とみなす下限サイズ。MB 単位。既定は 1024。"
|
|
67
|
+
|
|
68
|
+
#. type: definition term
|
|
69
|
+
msgid "`-d` <directory>:"
|
|
70
|
+
msgstr "`-d` <ディレクトリー>:"
|
|
71
|
+
|
|
72
|
+
#. type: paragraph
|
|
73
|
+
msgid "Directory to start scanning from. Default: your home directory."
|
|
74
|
+
msgstr "走査の起点。既定はホームディレクトリー。"
|
|
75
|
+
|
|
76
|
+
#. type: definition term
|
|
77
|
+
msgid "`-o` <directory>:"
|
|
78
|
+
msgstr "`-o` <ディレクトリー>:"
|
|
79
|
+
|
|
80
|
+
#. type: paragraph
|
|
81
|
+
msgid "Directory to save the report and the log in. Default: the log directory (see [FILES][]), which is `~/Library/Logs/reclaimable` on macOS."
|
|
82
|
+
msgstr "レポートとログの保存先。既定はログの置き場所(「ファイル」の節を参照)で、macOS では `~/Library/Logs/reclaimable`。"
|
|
83
|
+
|
|
84
|
+
#. type: definition term
|
|
85
|
+
msgid "`--save`, `--no-save`:"
|
|
86
|
+
msgstr "`--save`, `--no-save`:"
|
|
87
|
+
|
|
88
|
+
#. type: paragraph
|
|
89
|
+
msgid "Also save the report and the log to files. Default: save."
|
|
90
|
+
msgstr "レポートとログをファイルにも保存するかどうか。既定は保存する。"
|
|
91
|
+
|
|
92
|
+
#. type: definition term
|
|
93
|
+
msgid "`-j` <threads>:"
|
|
94
|
+
msgstr "`-j` <スレッド数>:"
|
|
95
|
+
|
|
96
|
+
#. type: paragraph
|
|
97
|
+
msgid "Number of threads that scan in parallel, from 1 to 64. Default: the number of CPUs, up to 8."
|
|
98
|
+
msgstr "並列に走査するスレッド数。1 から 64 まで。既定は CPU 数(上限 8)。"
|
|
99
|
+
|
|
100
|
+
#. type: definition term
|
|
101
|
+
msgid "`--fresh`:"
|
|
102
|
+
msgstr "`--fresh`:"
|
|
103
|
+
|
|
104
|
+
#. type: paragraph
|
|
105
|
+
msgid "Ignore the cached scan results and scan everything again."
|
|
106
|
+
msgstr "前回の走査結果(キャッシュ)を使わず、全部走査し直す。"
|
|
107
|
+
|
|
108
|
+
#. type: definition term
|
|
109
|
+
msgid "`--freeze` <directory>:"
|
|
110
|
+
msgstr "`--freeze` <ディレクトリー>:"
|
|
111
|
+
|
|
112
|
+
#. type: paragraph
|
|
113
|
+
msgid "Measure <directory> once, save its size to the config file, and skip it in later scans. Use this for large folders that never change, such as an old copy of a website with many small files. Later scans use the saved size instead of reading the folder. Give it again to measure the folder again. It can be given more than once. With this option, reclaimable only updates the config file and does not make a report."
|
|
114
|
+
msgstr "<ディレクトリー> を 1 度だけ測ってサイズを設定ファイルに保存し、以後の走査では読まない。小さなファイルがたくさんある古いサイトのコピーのような、変わらない大きなフォルダーに使う。以後の走査は、フォルダーを読む代わりに保存したサイズを使う。もう一度指定すると測り直す。何度でも指定できる。このオプションを付けると、設定ファイルを書き換えるだけでレポートは作らない。"
|
|
115
|
+
|
|
116
|
+
#. type: definition term
|
|
117
|
+
msgid "`--unfreeze` <directory>:"
|
|
118
|
+
msgstr "`--unfreeze` <ディレクトリー>:"
|
|
119
|
+
|
|
120
|
+
#. type: paragraph
|
|
121
|
+
msgid "Remove <directory> from the frozen folders, so it is scanned again. It can be given more than once."
|
|
122
|
+
msgstr "<ディレクトリー> の固定を外し、また走査するようにする。何度でも指定できる。"
|
|
123
|
+
|
|
124
|
+
#. type: definition term
|
|
125
|
+
msgid "`--dump-cache` [<format>]:"
|
|
126
|
+
msgstr "`--dump-cache` [<形式>]:"
|
|
127
|
+
|
|
128
|
+
#. type: paragraph
|
|
129
|
+
msgid "Print the cached scan results for the start directory (`-d`) and exit, without scanning. <format> is `text` (a table for people, the default), `json`, or `yaml`. Each folder has its modification time, the total size of the small files directly in it, the names of its subfolders, and the names of its large files. The cache itself is a binary file (Ruby's Marshal, compressed with gzip), so use this option to see what it holds."
|
|
130
|
+
msgstr "起点(`-d`)の走査結果のキャッシュを書き出して終える。走査はしない。<形式> は `text`(人が読むための表。既定)・`json`・`yaml` のいずれか。フォルダーごとに、更新時刻、直下の小さいファイルの合計サイズ、子フォルダーの名前、大きいファイルの名前を出す。キャッシュそのものはバイナリーのファイル(Ruby の Marshal を gzip で圧縮したもの)なので、中身を見るにはこのオプションを使う。"
|
|
131
|
+
|
|
132
|
+
#. type: definition term
|
|
133
|
+
msgid "`--config` <file>:"
|
|
134
|
+
msgstr "`--config` <ファイル>:"
|
|
135
|
+
|
|
136
|
+
#. type: paragraph
|
|
137
|
+
msgid "Config file to use. Default: see [FILES][]."
|
|
138
|
+
msgstr "使う設定ファイル。既定は「ファイル」の節を参照。"
|
|
139
|
+
|
|
140
|
+
#. type: definition term
|
|
141
|
+
msgid "`--ai-skill`:"
|
|
142
|
+
msgstr "`--ai-skill`:"
|
|
143
|
+
|
|
144
|
+
#. type: paragraph
|
|
145
|
+
msgid "Show the skill for AI agents, where it is, and how to install it, and exit. Nothing is written. See [AI AGENT SKILL][]."
|
|
146
|
+
msgstr "AI エージェント向けのスキルと、その置き場所、インストールの方法を表示して終了する。何も書き込まない。「AI エージェント向けのスキル」の節を参照。"
|
|
147
|
+
|
|
148
|
+
#. type: definition term
|
|
149
|
+
msgid "`--install-ai-skill` [<directory>]:"
|
|
150
|
+
msgstr "`--install-ai-skill` [<ディレクトリー>]:"
|
|
151
|
+
|
|
152
|
+
#. type: paragraph
|
|
153
|
+
msgid "Install the skill for AI agents in the skill directory <directory>, as <directory>`/reclaimable`, and exit. Files that are already there are overwritten. Without <directory>, reclaimable asks where to install it. It can be given more than once. See [AI AGENT SKILL][]."
|
|
154
|
+
msgstr "AI エージェント向けのスキルを、スキル置き場 <ディレクトリー> の下に <ディレクトリー>`/reclaimable` としてインストールして終了する。すでにあるファイルは上書きする。<ディレクトリー> を省くと、reclaimable がインストール先を尋ねる。複数回指定できる。「AI エージェント向けのスキル」の節を参照。"
|
|
155
|
+
|
|
156
|
+
#. type: definition term
|
|
157
|
+
msgid "`--man`:"
|
|
158
|
+
msgstr "`--man`:"
|
|
159
|
+
|
|
160
|
+
#. type: paragraph
|
|
161
|
+
msgid "Show this manual, in Japanese when your locale is Japanese and in English otherwise."
|
|
162
|
+
msgstr "このマニュアルを表示する。ロケールが日本語なら日本語版、そうでなければ英語版を開く"
|
|
163
|
+
|
|
164
|
+
#. type: definition term
|
|
165
|
+
msgid "`-h`, `--help`:"
|
|
166
|
+
msgstr "`-h`, `--help`:"
|
|
167
|
+
|
|
168
|
+
#. type: paragraph
|
|
169
|
+
msgid "Show a short usage message."
|
|
170
|
+
msgstr "使い方を短く表示する。"
|
|
171
|
+
|
|
172
|
+
#. type: heading
|
|
173
|
+
msgid "REPORT"
|
|
174
|
+
msgstr "レポート"
|
|
175
|
+
|
|
176
|
+
#. type: paragraph
|
|
177
|
+
msgid "The report has these sections, in this order:"
|
|
178
|
+
msgstr "レポートは次の節からなり、この順に出力されます。"
|
|
179
|
+
|
|
180
|
+
#. type: definition term
|
|
181
|
+
msgid "Whole disk:"
|
|
182
|
+
msgstr "ディスク全体:"
|
|
183
|
+
|
|
184
|
+
#. type: paragraph
|
|
185
|
+
msgid "`df -h` for the data volume."
|
|
186
|
+
msgstr "データボリュームの `df -h`。"
|
|
187
|
+
|
|
188
|
+
#. type: definition term
|
|
189
|
+
msgid "Largest folders:"
|
|
190
|
+
msgstr "大きいフォルダー:"
|
|
191
|
+
|
|
192
|
+
#. type: paragraph
|
|
193
|
+
msgid "The largest folders directly under the start directory, and what is inside them."
|
|
194
|
+
msgstr "起点直下の大きいフォルダーと、その内訳。"
|
|
195
|
+
|
|
196
|
+
#. type: definition term
|
|
197
|
+
msgid "Usually regenerable:"
|
|
198
|
+
msgstr "再生成・再取得できることが多い場所:"
|
|
199
|
+
|
|
200
|
+
#. type: paragraph
|
|
201
|
+
msgid "Known cache and download locations of 100 MB or more, such as `~/Library/Caches`, the Homebrew cache, npm/pnpm/yarn/bun caches, Cargo registries, Xcode DerivedData, iOS simulators, Ollama and Hugging Face models, gem documentation, and iPhone backups, each with a note on what happens if you remove it."
|
|
202
|
+
msgstr "100MB 以上の既知のキャッシュやダウンロード置き場。`~/Library/Caches`、Homebrew のキャッシュ、npm・pnpm・yarn・bun のキャッシュ、Cargo のレジストリー、Xcode の DerivedData、iOS シミュレーター、Ollama や Hugging Face のモデル、gem のドキュメント、iPhone のバックアップなどを、消したらどうなるかの説明付きで表示します。"
|
|
203
|
+
|
|
204
|
+
#. type: definition term
|
|
205
|
+
msgid "Build artifacts and dependencies:"
|
|
206
|
+
msgstr "ビルド成果物・依存パッケージ:"
|
|
207
|
+
|
|
208
|
+
#. type: paragraph
|
|
209
|
+
msgid "`node_modules`, `.venv`, `venv`, `.build`, `.dart_tool`, and Cargo `target` folders of 50 MB or more, with the date each was last modified, so you can spot projects you no longer touch."
|
|
210
|
+
msgstr "50MB 以上の `node_modules`・`.venv`・`venv`・`.build`・`.dart_tool`・Cargo の `target`。最終更新日も出すので、長く触っていないプロジェクトを見分けられます。"
|
|
211
|
+
|
|
212
|
+
#. type: definition term
|
|
213
|
+
msgid "Ruby gems:"
|
|
214
|
+
msgstr "Ruby の gem:"
|
|
215
|
+
|
|
216
|
+
#. type: paragraph
|
|
217
|
+
msgid "`vendor/bundle` and user gem directories, split by Ruby version, marking the ones left behind by Ruby versions that are no longer used or installed. `vendor/bundle` is split by ABI version (such as 4.0.0). User gem directories are named by ABI version, or by full version (such as 4.0.9) when chruby manages them; both are matched against the installed Rubies. For user gem directories, the size of their documentation is also shown."
|
|
218
|
+
msgstr "`vendor/bundle` とユーザー領域の gem を Ruby の版ごとに分けて表示し、使われていない版やインストールされていない版のものに印を付けます。`vendor/bundle` は ABI 版(4.0.0 など)ごとです。ユーザー領域の gem 置き場の名前は ABI 版か、chruby で管理している場合はフルの版(4.0.9 など)で、どちらもインストール済みの Ruby と突き合わせます。ユーザー領域の gem 置き場では、ドキュメントの大きさも出します。"
|
|
219
|
+
|
|
220
|
+
#. type: definition term
|
|
221
|
+
msgid "Containers:"
|
|
222
|
+
msgstr "コンテナ環境:"
|
|
223
|
+
|
|
224
|
+
#. type: paragraph
|
|
225
|
+
msgid "Data folders and disk images of Docker Desktop, Colima, Lima, OrbStack, Podman, and Rancher Desktop, both the real usage and the apparent size of the sparse disk images, plus `docker system df` for each running Docker engine. Contexts that point to the same engine are shown only once."
|
|
226
|
+
msgstr "Docker Desktop・Colima・Lima・OrbStack・Podman・Rancher Desktop のデータ置き場とディスクイメージ。スパースファイルなので、実占有量と見かけのサイズの両方を出します。動いている Docker のエンジンごとに `docker system df` も表示します。同じエンジンを指す context は 1 度だけ表示します。"
|
|
227
|
+
|
|
228
|
+
#. type: definition term
|
|
229
|
+
msgid "Large files:"
|
|
230
|
+
msgstr "巨大ファイル:"
|
|
231
|
+
|
|
232
|
+
#. type: paragraph
|
|
233
|
+
msgid "Files of at least the `-s` size, outside the Trash."
|
|
234
|
+
msgstr "`-s` のサイズ以上のファイル。ゴミ箱の中は除きます。"
|
|
235
|
+
|
|
236
|
+
#. type: definition term
|
|
237
|
+
msgid "Time Machine local snapshots:"
|
|
238
|
+
msgstr "Time Machine ローカルスナップショット:"
|
|
239
|
+
|
|
240
|
+
#. type: paragraph
|
|
241
|
+
msgid "`tmutil listlocalsnapshots /`."
|
|
242
|
+
msgstr "`tmutil listlocalsnapshots /`。"
|
|
243
|
+
|
|
244
|
+
#. type: definition term
|
|
245
|
+
msgid "Estimates from other tools:"
|
|
246
|
+
msgstr "ツール別の見積もり:"
|
|
247
|
+
|
|
248
|
+
#. type: paragraph
|
|
249
|
+
msgid "`brew cleanup -n`, `ollama list`, `rustup toolchain list`, and unavailable iOS simulators."
|
|
250
|
+
msgstr "`brew cleanup -n`、`ollama list`、`rustup toolchain list`、使えなくなった iOS シミュレーター。"
|
|
251
|
+
|
|
252
|
+
#. type: definition term
|
|
253
|
+
msgid "Frozen folders:"
|
|
254
|
+
msgstr "固定したフォルダー:"
|
|
255
|
+
|
|
256
|
+
#. type: paragraph
|
|
257
|
+
msgid "Folders frozen with `--freeze`, with the size and the date they were measured. Large files and build artifacts inside them do not appear in the sections above. A folder is marked when it has changed since it was measured (files were added, removed, or renamed directly inside it). This section appears only when there are such folders."
|
|
258
|
+
msgstr "`--freeze` で固定したフォルダーを、サイズと測った日付とともに表示します。中にある巨大ファイルやビルド成果物は、ここまでの節には出ません。測ったあとで変わったフォルダー(直下でファイルの追加・削除・改名があったもの)には印を付けます。該当するものがあるときだけ表示します。"
|
|
259
|
+
|
|
260
|
+
#. type: definition term
|
|
261
|
+
msgid "Unreadable locations:"
|
|
262
|
+
msgstr "読めなかった場所:"
|
|
263
|
+
|
|
264
|
+
#. type: paragraph
|
|
265
|
+
msgid "Folders that could not be read and are therefore missing from the totals."
|
|
266
|
+
msgstr "権限がなくて読めず、集計から漏れているフォルダー。"
|
|
267
|
+
|
|
268
|
+
#. type: definition term
|
|
269
|
+
msgid "Cloud-only folders:"
|
|
270
|
+
msgstr "クラウド上にしかないフォルダー:"
|
|
271
|
+
|
|
272
|
+
#. type: paragraph
|
|
273
|
+
msgid "Folders whose contents live only in iCloud Drive, Google Drive, or other cloud storage. They were not read and use almost no local space. This section appears only when there are such folders."
|
|
274
|
+
msgstr "中身が iCloud Drive や Google Drive などのクラウド上にしかないフォルダー。読んでおらず、手元の容量はほとんど使っていません。該当するものがあるときだけ表示します。"
|
|
275
|
+
|
|
276
|
+
#. type: heading
|
|
277
|
+
msgid "FILES"
|
|
278
|
+
msgstr "ファイル"
|
|
279
|
+
|
|
280
|
+
#. type: paragraph
|
|
281
|
+
msgid "Where each kind of file goes is decided in this order. If the XDG environment variable for that kind is set to an absolute path, the directory under it is used on any system (see [ENVIRONMENT][]). Otherwise, macOS uses the places under `~/Library` that Apple's conventions give, and other systems such as Linux use the XDG defaults."
|
|
282
|
+
msgstr "ファイルの置き場所は、種類ごとに次の順で決まります。その種類の XDG の環境変数が絶対パスで設定されていれば、どのシステムでもその下を使います(「環境変数」の節を参照)。設定されていなければ、macOS では Apple の規約に従って `~/Library` の下を、Linux などほかのシステムでは XDG の既定の場所を使います。"
|
|
283
|
+
|
|
284
|
+
#. type: definition term
|
|
285
|
+
msgid "Log directory:"
|
|
286
|
+
msgstr "ログの置き場所:"
|
|
287
|
+
|
|
288
|
+
#. type: paragraph
|
|
289
|
+
msgid "`$XDG_STATE_HOME/reclaimable` if `XDG_STATE_HOME` is set. Otherwise `~/Library/Logs/reclaimable` on macOS and `~/.local/state/reclaimable` elsewhere. It holds the report, <YYYYmmdd-HHMMSS>`.report.txt`, and the log, <YYYYmmdd-HHMMSS>`.log`, one of each per run. The log has failed commands, every unreadable location, and timings."
|
|
290
|
+
msgstr "`XDG_STATE_HOME` が設定されていれば `$XDG_STATE_HOME/reclaimable`。設定されていなければ、macOS では `~/Library/Logs/reclaimable`、ほかでは `~/.local/state/reclaimable`。レポート <YYYYmmdd-HHMMSS>`.report.txt` とログ <YYYYmmdd-HHMMSS>`.log` を、実行ごとに 1 つずつ置きます。ログには、失敗したコマンド、読めなかった場所の全件、所要時間を書きます。"
|
|
291
|
+
|
|
292
|
+
#. type: definition term
|
|
293
|
+
msgid "Cache directory:"
|
|
294
|
+
msgstr "キャッシュの置き場所:"
|
|
295
|
+
|
|
296
|
+
#. type: paragraph
|
|
297
|
+
msgid "`$XDG_CACHE_HOME/reclaimable` if `XDG_CACHE_HOME` is set. Otherwise `~/Library/Caches/reclaimable` on macOS and `~/.cache/reclaimable` elsewhere. It holds cached scan results, one file per start directory. A cache older than 7 days is ignored. `--dump-cache` shows what a cache holds."
|
|
298
|
+
msgstr "`XDG_CACHE_HOME` が設定されていれば `$XDG_CACHE_HOME/reclaimable`。設定されていなければ、macOS では `~/Library/Caches/reclaimable`、ほかでは `~/.cache/reclaimable`。走査結果のキャッシュを、起点ごとに 1 ファイル置きます。7 日より古いものは使いません。中身は `--dump-cache` で見られます。"
|
|
299
|
+
|
|
300
|
+
#. type: definition term
|
|
301
|
+
msgid "Config file:"
|
|
302
|
+
msgstr "設定ファイル:"
|
|
303
|
+
|
|
304
|
+
#. type: paragraph
|
|
305
|
+
msgid "`$XDG_CONFIG_HOME/reclaimable/config.yml` if `XDG_CONFIG_HOME` is set. Otherwise `~/Library/Application Support/reclaimable/config.yml` on macOS and `~/.config/reclaimable/config.yml` elsewhere. It is in YAML and holds the frozen folders: for each, the size, the modification time of the folder, and when it was measured. Paths start with `~`. `--freeze` and `--unfreeze` write it. You can also edit it by hand, but comments are lost when they rewrite it."
|
|
306
|
+
msgstr "`XDG_CONFIG_HOME` が設定されていれば `$XDG_CONFIG_HOME/reclaimable/config.yml`。設定されていなければ、macOS では `~/Library/Application Support/reclaimable/config.yml`、ほかでは `~/.config/reclaimable/config.yml`。YAML で、固定したフォルダーごとに、サイズ・フォルダーの更新時刻・測った日時を持ちます。パスは `~` で始まる形で書きます。`--freeze` と `--unfreeze` が書き込みます。手で編集してもかまいませんが、これらが書き直すとコメントは消えます。"
|
|
307
|
+
|
|
308
|
+
#. type: paragraph
|
|
309
|
+
msgid "A config file with one frozen folder looks like this:"
|
|
310
|
+
msgstr "固定したフォルダーが 1 つある設定ファイルは、次のようになります:"
|
|
311
|
+
|
|
312
|
+
#. type: heading
|
|
313
|
+
msgid "ENVIRONMENT"
|
|
314
|
+
msgstr "環境変数"
|
|
315
|
+
|
|
316
|
+
#. type: definition term
|
|
317
|
+
msgid "`XDG_CONFIG_HOME`:"
|
|
318
|
+
msgstr "`XDG_CONFIG_HOME`:"
|
|
319
|
+
|
|
320
|
+
#. type: paragraph
|
|
321
|
+
msgid "Base directory for the config file. See [FILES][]."
|
|
322
|
+
msgstr "設定ファイルの置き場所の基準。「ファイル」の節を参照。"
|
|
323
|
+
|
|
324
|
+
#. type: definition term
|
|
325
|
+
msgid "`XDG_STATE_HOME`:"
|
|
326
|
+
msgstr "`XDG_STATE_HOME`:"
|
|
327
|
+
|
|
328
|
+
#. type: paragraph
|
|
329
|
+
msgid "Base directory for the report and the log. See [FILES][]."
|
|
330
|
+
msgstr "レポートとログの置き場所の基準。「ファイル」の節を参照。"
|
|
331
|
+
|
|
332
|
+
#. type: definition term
|
|
333
|
+
msgid "`XDG_CACHE_HOME`:"
|
|
334
|
+
msgstr "`XDG_CACHE_HOME`:"
|
|
335
|
+
|
|
336
|
+
#. type: paragraph
|
|
337
|
+
msgid "Base directory for the scan cache. See [FILES][]."
|
|
338
|
+
msgstr "キャッシュの置き場所の基準。「ファイル」の節を参照。"
|
|
339
|
+
|
|
340
|
+
#. type: definition term
|
|
341
|
+
msgid "`LC_ALL`, `LC_MESSAGES`, `LANG`:"
|
|
342
|
+
msgstr "`LC_ALL`, `LC_MESSAGES`, `LANG`:"
|
|
343
|
+
|
|
344
|
+
#. type: paragraph
|
|
345
|
+
msgid "The language of messages and the report, checked in this order. If the first one that is set starts with `ja` (for example `ja_JP.UTF-8`), they are in Japanese. Otherwise they are in English. To get English once, run `LC_ALL=C reclaimable`."
|
|
346
|
+
msgstr "メッセージとレポートの言語。この順に調べ、最初に設定されているものが `ja` で始まっていれば(`ja_JP.UTF-8` など)日本語、それ以外なら英語で表示します。一度だけ英語で表示するには `LC_ALL=C reclaimable` のように実行します。"
|
|
347
|
+
|
|
348
|
+
#. type: heading
|
|
349
|
+
msgid "NOTES"
|
|
350
|
+
msgstr "注意"
|
|
351
|
+
|
|
352
|
+
#. type: paragraph
|
|
353
|
+
msgid "Folders such as Desktop, Documents, Downloads, and Mail are protected by macOS privacy controls. Unless your terminal app has Full Disk Access, they cannot be read, and they are listed at the end of the report. To include them, give the terminal app Full Disk Access in System Settings and run again. `sudo` is not needed."
|
|
354
|
+
msgstr "デスクトップ・書類・ダウンロード・メールなどのフォルダーは、macOS のプライバシー保護の対象です。ターミナルアプリに「フルディスクアクセス」がないと読めず、レポートの最後に「読めなかった場所」として並びます。これらも集計したいときは、システム設定でターミナルアプリにフルディスクアクセスを与えてから再実行してください。`sudo` は不要です。"
|
|
355
|
+
|
|
356
|
+
#. type: paragraph
|
|
357
|
+
msgid "reclaimable does not download files that live only in the cloud. Reading such a folder would normally make macOS download it, so reclaimable turns that off for its own process and lists those folders in the report instead. If it cannot turn it off, it skips `~/Library/Mobile Documents` and `~/Library/CloudStorage` and says so."
|
|
358
|
+
msgstr "クラウド上にしかないファイルはダウンロードしません。そうしたフォルダーを読むと、通常は macOS がダウンロードを始めるので、reclaimable は自分のプロセスではダウンロードしないよう設定し、そのフォルダーをレポートに並べます。設定できなかったときは `~/Library/Mobile Documents` と `~/Library/CloudStorage` を走査せず、その旨を表示します。"
|
|
359
|
+
|
|
360
|
+
#. type: paragraph
|
|
361
|
+
msgid "Sizes are the space actually used on disk (allocated blocks), not the apparent file size. Files that live only in the cloud (Dropbox or iCloud \"online only\") and sparse files are counted smaller than they look in Finder."
|
|
362
|
+
msgstr "サイズは見かけのファイルサイズではなく、実際にディスクを占有している量(割り当てブロック数)です。クラウド上にしかないファイル(Dropbox や iCloud の「オンラインのみ」)やスパースファイルは、Finder の表示より小さく数えられます。"
|
|
363
|
+
|
|
364
|
+
#. type: heading
|
|
365
|
+
msgid "EXAMPLES"
|
|
366
|
+
msgstr "例"
|
|
367
|
+
|
|
368
|
+
#. type: paragraph
|
|
369
|
+
msgid "Scan your home directory and save the report:"
|
|
370
|
+
msgstr "ホーム以下を走査し、レポートを保存する:"
|
|
371
|
+
|
|
372
|
+
#. type: paragraph
|
|
373
|
+
msgid "Show the top 50 entries and treat files of 500 MB or more as large:"
|
|
374
|
+
msgstr "各ランキングを 50 件表示し、500MB 以上を巨大ファイルとみなす:"
|
|
375
|
+
|
|
376
|
+
#. type: paragraph
|
|
377
|
+
msgid "Scan only `~/src`, ignore the cache, and do not save files:"
|
|
378
|
+
msgstr "`~/src` だけを、キャッシュを使わずに走査し、ファイルには保存しない:"
|
|
379
|
+
|
|
380
|
+
#. type: paragraph
|
|
381
|
+
msgid "Freeze a large folder that never changes, so later scans skip it:"
|
|
382
|
+
msgstr "変わらない大きなフォルダーを固定し、以後の走査で読まないようにする:"
|
|
383
|
+
|
|
384
|
+
#. type: heading
|
|
385
|
+
msgid "INSTALLATION"
|
|
386
|
+
msgstr "インストール"
|
|
387
|
+
|
|
388
|
+
#. type: paragraph
|
|
389
|
+
msgid "reclaimable needs Ruby 4.0 or later. Its only runtime gem dependency is gettext, for translated messages."
|
|
390
|
+
msgstr "Ruby 4.0 以上が必要です。実行時に依存する gem は、メッセージの翻訳に使う gettext だけです。"
|
|
391
|
+
|
|
392
|
+
#. type: paragraph
|
|
393
|
+
msgid "To read this manual from the installed gem, run `reclaimable --man`. It opens the Japanese version when your locale is Japanese, and the English version otherwise."
|
|
394
|
+
msgstr "インストールした gem からこのマニュアルを読むには、`reclaimable --man` を実行します。ロケールが日本語なら日本語版、そうでなければ英語版が開きます。"
|
|
395
|
+
|
|
396
|
+
#. type: paragraph
|
|
397
|
+
msgid "You can also read it with gem-man. When asked which manual to open, choose `reclaimable.en.1` for English or `reclaimable.ja.1` for Japanese."
|
|
398
|
+
msgstr "gem-man でも読めます。どのマニュアルを開くか聞かれたら、英語版は `reclaimable.en.1`、日本語版は `reclaimable.ja.1` を選びます。"
|
|
399
|
+
|
|
400
|
+
#. type: heading
|
|
401
|
+
msgid "AI AGENT SKILL"
|
|
402
|
+
msgstr "AI エージェント向けのスキル"
|
|
403
|
+
|
|
404
|
+
#. type: paragraph
|
|
405
|
+
msgid "The gem includes a skill for AI agents such as Claude Code and Codex, in the Agent Skills format (<https://agentskills.io>). It tells the agent how to run reclaimable, how to read the report, and never to delete anything without asking you. The gem does not install it for you."
|
|
406
|
+
msgstr "gem には、Claude Code や Codex などの AI エージェント向けのスキルが Agent Skills の形式(<https://agentskills.io>)で入っています。reclaimable の実行のしかた、レポートの読み方、そして、あなたに確かめずに何も削除しないことを、エージェントに伝えます。gem はこれを自動ではインストールしません。"
|
|
407
|
+
|
|
408
|
+
#. type: paragraph
|
|
409
|
+
msgid "To see the skill and the commands that install it by hand:"
|
|
410
|
+
msgstr "スキルの中身と、手でインストールするコマンドを見るには:"
|
|
411
|
+
|
|
412
|
+
#. type: paragraph
|
|
413
|
+
msgid "To let reclaimable install it:"
|
|
414
|
+
msgstr "reclaimable にインストールさせるには:"
|
|
415
|
+
|
|
416
|
+
#. type: paragraph
|
|
417
|
+
msgid "It lists the skill directories that exist, `~/.claude/skills` (Claude Code) and `~/.agents/skills` (Codex and other agents), and asks which to use. You can choose more than one, or enter another directory. It asks again before it overwrites a skill that is already installed. When standard input is not a terminal, it does not ask: it shows how to give the directory and exits with an error."
|
|
418
|
+
msgstr "存在するスキル置き場(`~/.claude/skills`(Claude Code)と `~/.agents/skills`(Codex などのエージェント))を並べて、どれを使うか尋ねます。複数選ぶことも、別のディレクトリーを入力することもできます。すでにインストールされているスキルを上書きするときは、もう一度確かめます。標準入力が端末でないときは尋ねず、ディレクトリーの渡し方を表示してエラーで終了します。"
|
|
419
|
+
|
|
420
|
+
#. type: paragraph
|
|
421
|
+
msgid "To install it without being asked, give the skill directory. This is the form for scripts and for agents:"
|
|
422
|
+
msgstr "尋ねられずにインストールするには、スキル置き場を渡します。スクリプトやエージェントから使うときは、この形です。"
|
|
423
|
+
|
|
424
|
+
#. type: paragraph
|
|
425
|
+
msgid "The skill is copied to `reclaimable` in that directory. If that is a symbolic link, nothing is written. The copy is not updated with the gem, so install it again after you update reclaimable."
|
|
426
|
+
msgstr "スキルは、そのディレクトリーの `reclaimable` にコピーされます。そこがシンボリックリンクなら、何も書き込みません。コピーは gem と一緒には更新されないので、reclaimable を更新したあとはインストールし直してください。"
|
|
427
|
+
|
|
428
|
+
#. type: heading
|
|
429
|
+
msgid "LICENSE"
|
|
430
|
+
msgstr "ライセンス"
|
|
431
|
+
|
|
432
|
+
#. type: paragraph
|
|
433
|
+
msgid "reclaimable is free software, released under the GNU General Public License, version 3 or (at your option) any later version."
|
|
434
|
+
msgstr "reclaimable は、GNU General Public License のバージョン 3、または(お好みで)それ以降のバージョンの下で公開されている自由ソフトウェアです。"
|
|
435
|
+
|
|
436
|
+
#. type: heading
|
|
437
|
+
msgid "SEE ALSO"
|
|
438
|
+
msgstr "関連項目"
|
|
439
|
+
|
|
440
|
+
#. type: paragraph
|
|
441
|
+
msgid "df(1), du(1), tmutil(8), brew(1), docker(1)"
|
|
442
|
+
msgstr "df(1), du(1), tmutil(8), brew(1), docker(1)"
|
|
443
|
+
|
|
444
|
+
#. type: paragraph
|
|
445
|
+
msgid "<https://kitaitimakoto.gitlab.io/reclaimable/>"
|
|
446
|
+
msgstr "<https://kitaitimakoto.gitlab.io/reclaimable/ja/>"
|
|
447
|
+
|
|
448
|
+
#. type: site text (source)
|
|
449
|
+
msgid "Source code"
|
|
450
|
+
msgstr "ソースコード"
|
|
451
|
+
|
|
452
|
+
#. type: site text (home)
|
|
453
|
+
msgid "Overview"
|
|
454
|
+
msgstr "概要"
|
|
455
|
+
|
|
456
|
+
#. type: site text (manual)
|
|
457
|
+
msgid "Manual"
|
|
458
|
+
msgstr "マニュアル"
|
|
459
|
+
|
|
460
|
+
#. type: site text (llms_manual)
|
|
461
|
+
msgid "every option, report section, file, and environment variable"
|
|
462
|
+
msgstr "オプション・レポートの節・ファイル・環境変数"
|
|
463
|
+
|
|
464
|
+
#. type: site text (llms_index)
|
|
465
|
+
msgid "what it finds, installation, usage, and FAQ"
|
|
466
|
+
msgstr "概要・インストール・使い方・よくある質問"
|
|
467
|
+
|
|
468
|
+
#. type: site text (manual_description)
|
|
469
|
+
msgid "Manual for reclaimable(1): options, report sections, files, and environment variables of reclaimable, a read-only command-line tool for macOS that finds what is eating disk space."
|
|
470
|
+
msgstr "reclaimable(1) のマニュアル。macOS のストレージを圧迫しているものを洗い出す読み取り専用のコマンドラインツール reclaimable の、オプション・レポートの節・ファイル・環境変数の説明です。"
|
|
471
|
+
|
|
472
|
+
#. type: site text (markdown)
|
|
473
|
+
msgid "Markdown version of this page"
|
|
474
|
+
msgstr "このページの Markdown 版"
|
|
475
|
+
|
|
476
|
+
#. type: front matter: title
|
|
477
|
+
msgid "reclaimable — find what is eating disk space on your Mac"
|
|
478
|
+
msgstr "reclaimable — Mac のストレージを圧迫しているものを洗い出す"
|
|
479
|
+
|
|
480
|
+
#. type: front matter: description
|
|
481
|
+
msgid "reclaimable is a read-only Ruby command-line tool for macOS that lists caches, build artifacts, old gems, container disk images, and large files you can reclaim, sorted by size. It never deletes anything."
|
|
482
|
+
msgstr "reclaimable は、macOS のキャッシュ、ビルド成果物、古い gem、コンテナのディスクイメージ、巨大ファイルなど、空けられそうな領域を容量順に一覧表示する、Ruby 製の読み取り専用コマンドラインツールです。何も削除しません。"
|
|
483
|
+
|
|
484
|
+
#. type: heading
|
|
485
|
+
msgid "reclaimable"
|
|
486
|
+
msgstr "reclaimable"
|
|
487
|
+
|
|
488
|
+
#. type: paragraph
|
|
489
|
+
msgid "**reclaimable is a read-only command-line tool for macOS that shows what is taking up your disk space and what you can probably reclaim, sorted by size. It never deletes anything and never needs `sudo`.** It is written in Ruby 4.0, and its messages are in English or Japanese depending on your locale."
|
|
490
|
+
msgstr "**reclaimable は、macOS のストレージを何が使っているか、何を消せば空きそうかを容量の大きい順に一覧表示する、読み取り専用のコマンドラインツールです。何も削除せず、`sudo` も使いません。** Ruby 4.0 で書かれていて、メッセージはロケールに応じて日本語か英語で表示します。"
|
|
491
|
+
|
|
492
|
+
#. type: heading
|
|
493
|
+
msgid "What it finds"
|
|
494
|
+
msgstr "見つけるもの"
|
|
495
|
+
|
|
496
|
+
#. type: list item
|
|
497
|
+
msgid "Caches and downloads that are usually regenerable: `~/Library/Caches`, the Homebrew cache, npm, pnpm, yarn, and bun caches, Cargo registries, Xcode DerivedData, iOS simulators, Ollama and Hugging Face models, gem documentation, iPhone backups, and more, each with a note on what happens if you remove it"
|
|
498
|
+
msgstr "再生成・再取得できることが多いキャッシュやダウンロード置き場。`~/Library/Caches`、Homebrew のキャッシュ、npm・pnpm・yarn・bun のキャッシュ、Cargo のレジストリー、Xcode の DerivedData、iOS シミュレーター、Ollama や Hugging Face のモデル、gem のドキュメント、iPhone のバックアップなど。消したらどうなるかの説明付きで表示します"
|
|
499
|
+
|
|
500
|
+
#. type: list item
|
|
501
|
+
msgid "Build artifacts and dependencies (`node_modules`, `.venv`, `venv`, `.build`, `.dart_tool`, Cargo `target`) with the date they were last modified, so you can spot projects you no longer touch"
|
|
502
|
+
msgstr "ビルド成果物・依存パッケージ(`node_modules`・`.venv`・`venv`・`.build`・`.dart_tool`・Cargo の `target`)。最終更新日も出すので、長く触っていないプロジェクトを見分けられます"
|
|
503
|
+
|
|
504
|
+
#. type: list item
|
|
505
|
+
msgid "Gems left behind by old Ruby versions, in `vendor/bundle` and in your user gem directories (including the ones chruby manages)"
|
|
506
|
+
msgstr "古い Ruby 版の gem。`vendor/bundle` とユーザー領域の gem 置き場(chruby が管理するものを含む)の両方"
|
|
507
|
+
|
|
508
|
+
#. type: list item
|
|
509
|
+
msgid "Container data: Docker Desktop, Colima, Lima, OrbStack, Podman, and Rancher Desktop disk images (both real and apparent size), and `docker system df` for each running Docker engine"
|
|
510
|
+
msgstr "コンテナ環境のデータ。Docker Desktop・Colima・Lima・OrbStack・Podman・Rancher Desktop のディスクイメージ(実占有量と見かけのサイズ)と、動いている Docker のエンジンごとの `docker system df`"
|
|
511
|
+
|
|
512
|
+
#. type: list item
|
|
513
|
+
msgid "Large files, Time Machine local snapshots, and estimates from `brew cleanup -n`, `ollama list`, and `rustup toolchain list`"
|
|
514
|
+
msgstr "巨大ファイル、Time Machine のローカルスナップショット、`brew cleanup -n`・`ollama list`・`rustup toolchain list` による見積もり"
|
|
515
|
+
|
|
516
|
+
#. type: list item
|
|
517
|
+
msgid "Folders it could not read, so you know what is missing from the totals, and folders that live only in the cloud"
|
|
518
|
+
msgstr "読めなかったフォルダー(集計から何が漏れているかが分かります)と、クラウド上にしかないフォルダー"
|
|
519
|
+
|
|
520
|
+
#. type: heading
|
|
521
|
+
msgid "What it does not do"
|
|
522
|
+
msgstr "しないこと"
|
|
523
|
+
|
|
524
|
+
#. type: list item
|
|
525
|
+
msgid "It does not delete, move, or change any file. You decide what to remove."
|
|
526
|
+
msgstr "ファイルを削除・移動・変更しません。消すかどうかは利用者が判断します。"
|
|
527
|
+
|
|
528
|
+
#. type: list item
|
|
529
|
+
msgid "It does not use `sudo`. It reads only what your user account can read."
|
|
530
|
+
msgstr "`sudo` を使いません。ログインユーザーが読める範囲だけを調べます。"
|
|
531
|
+
|
|
532
|
+
#. type: heading
|
|
533
|
+
msgid "Install"
|
|
534
|
+
msgstr "インストール"
|
|
535
|
+
|
|
536
|
+
#. type: paragraph
|
|
537
|
+
msgid "reclaimable needs macOS and Ruby 4.0 or later."
|
|
538
|
+
msgstr "macOS と Ruby 4.0 以上が必要です。"
|
|
539
|
+
|
|
540
|
+
#. type: code
|
|
541
|
+
msgid "gem install reclaimable"
|
|
542
|
+
msgstr "gem install reclaimable"
|
|
543
|
+
|
|
544
|
+
#. type: heading
|
|
545
|
+
msgid "Usage"
|
|
546
|
+
msgstr "使い方"
|
|
547
|
+
|
|
548
|
+
#. type: code
|
|
549
|
+
msgid ""
|
|
550
|
+
"reclaimable # scan your home directory\n"
|
|
551
|
+
"reclaimable -n 50 -s 500 # top 50 entries; files of 500 MB or more are \"large\"\n"
|
|
552
|
+
"reclaimable -d ~/src --fresh --no-save # scan ~/src only, ignore the cache, save nothing\n"
|
|
553
|
+
"reclaimable --freeze ~/archive/old-site # measure a folder that never changes once, and skip it from now on"
|
|
554
|
+
msgstr ""
|
|
555
|
+
"reclaimable # ホーム以下を走査する\n"
|
|
556
|
+
"reclaimable -n 50 -s 500 # 各ランキングを 50 件、500MB 以上を巨大ファイルとみなす\n"
|
|
557
|
+
"reclaimable -d ~/src --fresh --no-save # ~/src だけを、キャッシュを使わずに走査し、保存しない\n"
|
|
558
|
+
"reclaimable --freeze ~/archive/old-site # 変わらないフォルダーを 1 度だけ測り、以後は走査しない"
|
|
559
|
+
|
|
560
|
+
#. type: paragraph
|
|
561
|
+
msgid "The report is printed to the terminal and also saved to `~/Library/Logs/reclaimable/` (or under `$XDG_STATE_HOME` if you set it). It is in Japanese when your locale (`LC_ALL`, `LC_MESSAGES`, or `LANG`) is Japanese, and in English otherwise."
|
|
562
|
+
msgstr "レポートは画面に表示し、`~/Library/Logs/reclaimable/`(`$XDG_STATE_HOME` を設定していればその下)にも保存します。ロケール(`LC_ALL`・`LC_MESSAGES`・`LANG`)が日本語なら日本語、それ以外なら英語で出力します。"
|
|
563
|
+
|
|
564
|
+
#. type: heading
|
|
565
|
+
msgid "Read the manual"
|
|
566
|
+
msgstr "マニュアルを読む"
|
|
567
|
+
|
|
568
|
+
#. type: paragraph
|
|
569
|
+
msgid "The full manual, [reclaimable(1)](reclaimable.1.html), is also included in the gem. To read it in your terminal, run:"
|
|
570
|
+
msgstr "詳しい説明は [reclaimable(1)](reclaimable.1.html) にあります。同じマニュアルは gem にも入っていて、ターミナルで読むには次を実行します:"
|
|
571
|
+
|
|
572
|
+
#. type: code
|
|
573
|
+
msgid "reclaimable --man"
|
|
574
|
+
msgstr "reclaimable --man"
|
|
575
|
+
|
|
576
|
+
#. type: paragraph
|
|
577
|
+
msgid "It opens the Japanese version when your locale is Japanese, and the English version otherwise. You can also read it with [gem-man](https://rubygems.org/gems/gem-man):"
|
|
578
|
+
msgstr "ロケールが日本語なら日本語版、そうでなければ英語版が開きます。[gem-man](https://rubygems.org/gems/gem-man) でも読めます:"
|
|
579
|
+
|
|
580
|
+
#. type: code
|
|
581
|
+
msgid ""
|
|
582
|
+
"gem install gem-man\n"
|
|
583
|
+
"gem man reclaimable"
|
|
584
|
+
msgstr ""
|
|
585
|
+
"gem install gem-man\n"
|
|
586
|
+
"gem man reclaimable"
|
|
587
|
+
|
|
588
|
+
#. type: paragraph
|
|
589
|
+
msgid "When asked which manual to open, choose `reclaimable.en.1` for English or `reclaimable.ja.1` for Japanese."
|
|
590
|
+
msgstr "どのマニュアルを開くか聞かれたら、英語版は `reclaimable.en.1`、日本語版は `reclaimable.ja.1` を選びます。"
|
|
591
|
+
|
|
592
|
+
#. type: heading
|
|
593
|
+
msgid "Use it from an AI agent"
|
|
594
|
+
msgstr "AI エージェントから使う"
|
|
595
|
+
|
|
596
|
+
#. type: paragraph
|
|
597
|
+
msgid "The gem includes a skill for AI agents such as Claude Code and Codex, in the [Agent Skills](https://agentskills.io) format. It tells the agent how to run reclaimable, how to read the report, and never to delete anything without asking you."
|
|
598
|
+
msgstr "gem には、Claude Code や Codex などの AI エージェント向けのスキルが [Agent Skills](https://agentskills.io) の形式で入っています。reclaimable の実行のしかた、レポートの読み方、そして、あなたに確かめずに何も削除しないことを、エージェントに伝えます。"
|
|
599
|
+
|
|
600
|
+
#. type: code
|
|
601
|
+
msgid ""
|
|
602
|
+
"reclaimable --ai-skill # show the skill and how to install it by hand\n"
|
|
603
|
+
"reclaimable --install-ai-skill # ask where to install it, then install it\n"
|
|
604
|
+
"reclaimable --install-ai-skill=~/.claude/skills # install it there without asking"
|
|
605
|
+
msgstr ""
|
|
606
|
+
"reclaimable --ai-skill # スキルの中身と手でのインストール方法を表示する\n"
|
|
607
|
+
"reclaimable --install-ai-skill # インストール先を尋ねてからインストールする\n"
|
|
608
|
+
"reclaimable --install-ai-skill=~/.claude/skills # 尋ねずにそこへインストールする"
|
|
609
|
+
|
|
610
|
+
#. type: paragraph
|
|
611
|
+
msgid "The copy is not updated with the gem, so install it again after you update reclaimable."
|
|
612
|
+
msgstr "コピーは gem と一緒には更新されないので、reclaimable を更新したあとはインストールし直してください。"
|
|
613
|
+
|
|
614
|
+
#. type: heading
|
|
615
|
+
msgid "FAQ"
|
|
616
|
+
msgstr "よくある質問"
|
|
617
|
+
|
|
618
|
+
#. type: heading
|
|
619
|
+
msgid "Why are Desktop, Documents, and Downloads missing from the totals?"
|
|
620
|
+
msgstr "デスクトップ・書類・ダウンロードが集計に入らないのはなぜ?"
|
|
621
|
+
|
|
622
|
+
#. type: paragraph
|
|
623
|
+
msgid "macOS privacy controls protect these folders. Unless your terminal app has Full Disk Access, reclaimable cannot read them and lists them under \"unreadable locations\" at the end of the report. Give your terminal app Full Disk Access in System Settings and run it again. `sudo` is not needed."
|
|
624
|
+
msgstr "これらのフォルダーは macOS のプライバシー保護の対象です。ターミナルアプリにフルディスクアクセスがないと読めず、レポートの最後に「読めなかった場所」として並びます。システム設定でターミナルアプリにフルディスクアクセスを与えてから再実行してください。`sudo` は不要です。"
|
|
625
|
+
|
|
626
|
+
#. type: heading
|
|
627
|
+
msgid "Is it safe to delete what it lists?"
|
|
628
|
+
msgstr "表示されたものは消しても安全?"
|
|
629
|
+
|
|
630
|
+
#. type: paragraph
|
|
631
|
+
msgid "reclaimable only shows candidates. Most locations in the \"usually regenerable\" section are rebuilt or downloaded again when needed, and the report notes what happens if you remove each one. For example, quit apps before clearing `~/Library/Caches`. Check container volumes before removing them, because they may hold databases."
|
|
632
|
+
msgstr "reclaimable は候補を示すだけです。「再生成・再取得できることが多い場所」の多くは、必要になったときに作り直されたり再ダウンロードされたりします。レポートには、それぞれ消したらどうなるかの説明が付きます。たとえば `~/Library/Caches` はアプリを終了してから消してください。コンテナのボリュームにはデータベースなどが入っていることがあるので、中身を確かめてから消してください。"
|
|
633
|
+
|
|
634
|
+
#. type: heading
|
|
635
|
+
msgid "Why is `Docker.raw` so much smaller than Finder says?"
|
|
636
|
+
msgstr "`Docker.raw` が Finder の表示よりずっと小さいのはなぜ?"
|
|
637
|
+
|
|
638
|
+
#. type: paragraph
|
|
639
|
+
msgid "Container disk images are sparse files. reclaimable shows both the space they really use and their apparent size. Running `docker system prune` inside the VM may not free space on the Mac right away."
|
|
640
|
+
msgstr "コンテナのディスクイメージはスパースファイルです。reclaimable は実際に使っている量と見かけのサイズの両方を表示します。仮想マシンの中で `docker system prune` をしても、Mac 側の空きにすぐには反映されないことがあります。"
|
|
641
|
+
|
|
642
|
+
#. type: heading
|
|
643
|
+
msgid "Does it download my iCloud Drive or Google Drive files?"
|
|
644
|
+
msgstr "iCloud Drive や Google Drive のファイルをダウンロードしてしまわない?"
|
|
645
|
+
|
|
646
|
+
#. type: paragraph
|
|
647
|
+
msgid "No. Reading a folder whose contents live only in the cloud would normally make macOS download it. reclaimable turns that off for its own process and lists those folders in the report instead. They use almost no local space."
|
|
648
|
+
msgstr "しません。中身がクラウド上にしかないフォルダーを読むと、通常は macOS がダウンロードを始めます。reclaimable は自分のプロセスではダウンロードしないよう設定し、そうしたフォルダーをレポートに並べます。手元の容量はほとんど使っていません。"
|
|
649
|
+
|
|
650
|
+
#. type: heading
|
|
651
|
+
msgid "Is the second run faster?"
|
|
652
|
+
msgstr "2 回目は速くなる?"
|
|
653
|
+
|
|
654
|
+
#. type: paragraph
|
|
655
|
+
msgid "Yes. Scan results are cached in `~/Library/Caches/reclaimable/` (or under `$XDG_CACHE_HOME` if you set it) for up to 7 days, and folders that have not changed are not read again. Use `--fresh` to rescan everything."
|
|
656
|
+
msgstr "はい。走査結果を `~/Library/Caches/reclaimable/`(`$XDG_CACHE_HOME` を設定していればその下)に最長 7 日間キャッシュし、変わっていないフォルダーは読み直しません。全部走査し直すときは `--fresh` を付けます。"
|
|
657
|
+
|
|
658
|
+
#. type: heading
|
|
659
|
+
msgid "Can I skip a large folder that never changes?"
|
|
660
|
+
msgstr "変わらない大きなフォルダーを走査から外せる?"
|
|
661
|
+
|
|
662
|
+
#. type: paragraph
|
|
663
|
+
msgid "Yes. `reclaimable --freeze <folder>` measures it once and saves its size to the config file (`~/Library/Application Support/reclaimable/config.yml`, or under `$XDG_CONFIG_HOME` if you set it). Later scans use that size without reading the folder, which helps when it holds many small files. The report lists frozen folders and marks the ones that have changed since. Use `--unfreeze <folder>` to scan it again."
|
|
664
|
+
msgstr "はい。`reclaimable --freeze <フォルダー>` で 1 度だけ測り、サイズを設定ファイル(`~/Library/Application Support/reclaimable/config.yml`。`$XDG_CONFIG_HOME` を設定していればその下)に保存します。以後の走査はフォルダーを読まずにこのサイズを使うので、小さなファイルがたくさんあるフォルダーで時間を省けます。レポートには固定したフォルダーを一覧にし、測ったあとで変わったものには印を付けます。また走査するときは `--unfreeze <フォルダー>` を使います。"
|
|
665
|
+
|
|
666
|
+
#. type: heading
|
|
667
|
+
msgid "License"
|
|
668
|
+
msgstr "ライセンス"
|