본문으로 건너뛰기

파일 · 명령 참조

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_pathstr아니요"."검색을 시작할 디렉터리
patternstr아니요"*"*.txt 또는 data-???.csv 같은 파일 이름 glob 패턴. 기본적으로 모든 파일 포함
recursivestr아니요"-r"깊이: -r은 제한 없음, false는 현재 디렉터리만, -rN은 최대 N단계
min_sizestr아니요선언되지 않음최소 크기(예: 500KB, 10MiB 또는 바이트 수)
max_sizestr아니요선언되지 않음최대 크기(예: 2GB, 20MiB 또는 바이트 수)
modified_afterstr아니요선언되지 않음YYYY-MM-DD, "today" 또는 "yesterday" 당일이나 그 이후 수정된 파일만 포함
modified_beforestr아니요선언되지 않음YYYY-MM-DD, "today" 또는 "yesterday" 이전에 수정된 파일만 포함
excludestr아니요선언되지 않음제외할 파일 이름 glob 패턴을 쉼표로 구분
exclude_dirsstr아니요선언되지 않음건너뛸 디렉터리 이름 glob 패턴을 쉼표로 구분
sort_bystr아니요"path"path, name, size 또는 modified 기준으로 정렬
descendingbool아니요false선택한 정렬 순서를 반대로 함(true/false)
limitstr아니요선언되지 않음정렬 후 반환할 최대 파일 수

입력 예제

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가 어떤 작업에 적합한지, 네이티브 도구와 어떻게 비교되는지, 자동화할 때 어떤 세부 사항이 중요한지 알아보세요.

계속 살펴보기

이 명령들도 파일 범주에 속합니다. 비교하여 작업에 가장 적합한 작업을 선택하세요.

모든 QZX 명령 살펴보기