ファイル · コマンドリファレンス
qzx findFiles
機能
名前、深さ、サイズ、更新日時でファイルを検索し、構造化メタデータを返します。
コマンドの成熟度: Alpha
実際の利用とフィードバックに使えますが、インターフェースと動作はまだ変更される可能性があります。 これは現在の開発チェックアウトに対する評価です。今後の各不変リリースタグには、そのバージョンに含まれた正確な評価が保存されます。 PyPI 0.2.2.0.9 で利用できます。ドキュメントは alpha チェックアウト 0.2.2.0.9 に対応しています。
動作と組み込み保護
状態を変更せずに検査します
この操作は直接実行されます
ネイティブプログラムを呼び出さずに動作します
ネットワークを使わずに動作します
権限昇格なしで動作するよう設計されています
この安全分類は 2026-08-25 に OpenAI GPT-5.6 Pro が実装ダイジェスト sha256:12717a5382f7fc0b8b27847c67aaf89741ae65a55241683f7b293715ee2e279b と照合してレビューしました。
正確な構文
qzx findFiles [search_path] [pattern] [recursive] [min_size] [max_size] [modified_after] [modified_before] [exclude] [exclude_dirs] [sort_by] [descending] [limit] --jsonパラメータ
スワイプするか横スクロールバーを使って、すべての列を表示してください。
| 名前 | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| search_path | str | いいえ | "." | 検索を開始するディレクトリ |
| pattern | str | いいえ | "*" | *.txt や data-???.csv などのファイル名 glob パターン。既定ではすべてのファイルを含みます |
| recursive | str | いいえ | "-r" | 深さ: -r は無制限、false は現在のディレクトリのみ、-rN は最大 N 階層 |
| min_size | str | いいえ | 未宣言 | 最小サイズ。例: 500KB、10MiB、またはバイト数 |
| max_size | str | いいえ | 未宣言 | 最大サイズ。例: 2GB、20MiB、またはバイト数 |
| modified_after | str | いいえ | 未宣言 | YYYY-MM-DD、"today"、"yesterday" の指定日時以降に更新されたファイルだけを含める |
| modified_before | str | いいえ | 未宣言 | YYYY-MM-DD、"today"、"yesterday" の指定日時より前に更新されたファイルだけを含める |
| exclude | str | いいえ | 未宣言 | 除外するファイル名 glob パターンをカンマ区切りで指定 |
| exclude_dirs | str | いいえ | 未宣言 | 除外するディレクトリ名 glob パターンをカンマ区切りで指定 |
| sort_by | str | いいえ | "path" | path、name、size、modified で並べ替え |
| descending | bool | いいえ | false | 選択した並び順を逆転 (true/false) |
| limit | str | いいえ | 未宣言 | 並べ替え後に返す最大ファイル数 |
入力例
qzx findFiles . "*.py" --exclude-dirs ".git,.venv"Python ファイルを再帰検索し、一般的なメタデータディレクトリを除外
qzx findFiles Downloads "*" --min-size 100MiB --sort-by size --descending true --limit 20一致する 100 MiB 以上のファイルから大きい順に 20 件を返す
qzx findFiles logs "*.log" --modified-after 2026-07-01 --recursive falseサブディレクトリをたどらず最近更新されたログを検索
完全な構造化ペイロードを取得するには --json を追加します: qzx findFiles [search_path] [pattern] [recursive] [min_size] [max_size] [modified_after] [modified_before] [exclude] [exclude_dirs] [sort_by] [descending] [limit] --json
観測された出力例
Windows 11 上の QZX 0.2.2.0.9 で取得。終了コードは 0。ホスト依存の値や所要時間は変わる場合があります。
例のコマンド: qzx findFiles ../artifacts/qzx-evidence/find-files "*.txt" -r --json
{
"success": true,
"message": "Found 2 matching files in 'C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\find-files'. Returning 2 files totaling 13.00 B.",
"search_path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\find-files",
"pattern": "*.txt",
"recursive": "unlimited",
"filters": {
"min_size_bytes": null,
"max_size_bytes": null,
"modified_after": null,
"modified_before": null,
"exclude": [],
"exclude_dirs": []
},
"sort": {
"by": "path",
"descending": false
},
"matched_count": 2,
"matched_size_bytes": 13,
"matched_size_readable": "13.00 B",
"count": 2,
"total_size_bytes": 13,
"total_size_readable": "13.00 B",
"limit": null,
"truncated": false,
"skipped_unreadable": 0,
"warnings": [],
"results": [
{
"name": "alpha.txt",
"path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\find-files\\alpha.txt",
"relative_path": "alpha.txt",
"depth": 0,
"size_bytes": 7,
"size_readable": "7.00 B",
"modified_timestamp": 1789069883.9995615,
"modified_at": "2026-09-10T14:51:23-05:00"
},
{
"name": "beta.txt",
"path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\find-files\\nested\\beta.txt",
"relative_path": "nested\\beta.txt",
"depth": 1,
"size_bytes": 6,
"size_readable": "6.00 B",
"modified_timestamp": 1789069884.0000687,
"modified_at": "2026-09-10T14:51:24-05:00"
}
],
"meta": {
"command": "findFiles",
"command_maturity": {
"stage": "alpha",
"label": "Alpha",
"sequence": 2,
"public_executable": true,
"stability": "interface_may_change",
"summary": "Available for real use and feedback while its interface and behavior can still evolve.",
"promotion_review_required": false,
"assessment_scope": "development_checkout"
},
"duration_ms": 4.066,
"schema_version": 1
}
}JSON 結果コントラクトを見る
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"success",
"message",
"meta"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"meta": {
"type": "object",
"required": [
"command",
"command_maturity",
"duration_ms",
"schema_version"
],
"properties": {
"command": {
"type": "string"
},
"command_maturity": {
"type": "object",
"required": [
"stage",
"label",
"sequence",
"public_executable",
"stability",
"summary",
"promotion_review_required",
"assessment_scope"
],
"properties": {
"stage": {
"type": "string"
},
"label": {
"type": "string"
},
"sequence": {
"type": "integer"
},
"public_executable": {
"type": "boolean"
},
"stability": {
"type": "string"
},
"summary": {
"type": "string"
},
"promotion_review_required": {
"type": "boolean"
},
"assessment_scope": {
"type": "string"
},
"note": {
"type": "string"
},
"review": {
"type": "object",
"required": [
"reviewed_on",
"rationale",
"evidence"
],
"properties": {
"reviewed_on": {
"type": "string",
"format": "date"
},
"rationale": {
"type": "string"
},
"evidence": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"replacement": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": true
},
"duration_ms": {
"type": "number"
},
"schema_version": {
"type": "integer"
}
},
"additionalProperties": true
},
"count": [],
"details": [],
"error": [],
"error_code": [],
"filters": {
"type": "object",
"properties": {
"min_size_bytes": [],
"max_size_bytes": [],
"modified_after": [],
"modified_before": [],
"exclude": [],
"exclude_dirs": []
},
"additionalProperties": true
},
"limit": [],
"matched_count": [],
"matched_size_bytes": [],
"matched_size_readable": [],
"pattern": [],
"recursive": [],
"results": [],
"search_path": [],
"skipped_unreadable": [],
"sort": {
"type": "object",
"properties": {
"by": [],
"descending": []
},
"additionalProperties": true
},
"total_size_bytes": [],
"total_size_readable": [],
"truncated": [],
"warnings": []
},
"additionalProperties": true
}エラーと制限
公開コントラクトでは失敗時に success=false と説明的な message が必要です。このカタログではまだコマンドごとのエラー分類を宣言していません。結果を確認し、存在しないコードを推測しないでください。
QZX は alpha 段階です。オプション依存関係、権限、ホスト機能によって結果が変わる場合があります。
{
"success": false,
"message": "Search directory does not exist: C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\missing-golden-core-path",
"error": "Search directory does not exist: C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\missing-golden-core-path",
"error_code": "path_not_found",
"details": {
"search_path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\missing-golden-core-path"
},
"meta": {
"command": "findFiles",
"command_maturity": {
"stage": "alpha",
"label": "Alpha",
"sequence": 2,
"public_executable": true,
"stability": "interface_may_change",
"summary": "Available for real use and feedback while its interface and behavior can still evolve.",
"promotion_review_required": false,
"assessment_scope": "development_checkout"
},
"duration_ms": 2.802,
"schema_version": 1
}
}取得したコマンド: qzx findFiles ../artifacts/qzx-evidence/missing-golden-core-path "*.txt" -r --json
証拠フロー: 取得済み・ダイジェストで検証済み。
証拠と出所
- ドキュメントチャネル
- 開発ドキュメント 0.2.2.0.9 · main · sha256:cfba936e39931c286ca23add0ae546693db17d8b316e7cbc3891d26642d9b7e8
- 提供状況
- 0.2.2.0.9 以前
実践ガイド
このコマンドを実際の文脈で使う
qzx findFiles がどのようなタスクに適するか、ネイティブツールとどう比較できるか、自動化時に何が重要かを学べます。
さらに探す
関連コマンド
これらのコマンドも ファイル カテゴリに属します。比較して、タスクに最適な操作を選んでください。