file-management
Installation
SKILL.md
File Management
When to Use
- You need to reorganize a directory (move/copy/rename) based on include/exclude patterns and a target folder structure.
- You want a repeatable backup workflow (copy or archive) with optional retention rules and verification manifests.
- You need to compress a folder or a set of files to reduce size or package deliverables.
- You must split very large files into fixed-size parts for transfer/storage limits (binary-safe).
- You need to merge previously split parts back into the original file reliably (binary-safe).
Key Features
- Safety-first planning: generate a preview/manifest of intended actions before writing changes.
- Rule-driven scope control: root path + include/exclude patterns + thresholds + target structure (see
references/rule-schema.md). - Conflict handling: default to skip/rename on collisions; overwrite only with explicit confirmation.
- Non-destructive defaults: avoid deletion unless explicitly requested.
- Verification support: compare counts/sizes and optionally generate hashes for critical backups.
- Binary-safe split/merge: split by fixed size and merge parts without corrupting binary data (
scripts/).