File Organizer Skill

👤 1999azzar 📦 v1.0.0 ⭐ 4.3 ⬇️ 11.2K 下载
📄 办公效率 免费

📖 技能介绍


name: file-organizer-skill description: Organize files in directories by grouping them into folders based on their extensions or date. Includes Dry-Run, Recursive, and Undo capabilities.


File Organizer (Gold Standard)

Features

  • Smart Sorting: Group by Extension (Default) or Date (Year/Month).
  • Safety: Conflict resolution (auto-rename), Dry Run mode, and Undo capability.
  • Deep Clean: Recursive scanning option.
  • Audit: Generates organize_history.json for tracking.

Usage

Basic Sort (by Extension)

python3 scripts/organize.py /path/to/folder

来源于7w4.net。

Date Sort (Year/Month)

Great for photos or archives.

python3 scripts/organize.py /path/to/folder --date

Dry Run (Simulate)

See what would happen without moving anything.

python3 scripts/organize.py /path/to/folder --dry-run

Undo

Revert changes using the history file.

python3 scripts/organize.py --undo /path/to/folder/organize_history.json

Config

Modify scripts/organize.py get_default_mapping() to add custom extensions.

🤖 AI 评测

这个工具质量良好,功能实用且设计考虑周全。它能按类型或日期整理文件,支持模拟运行和撤销操作,可以放心试用。不过递归整理时可能把已分类好的文件再移一次,有小概率造成混乱。总体来说简单易用,适合日常文件管理需求。

📊 多维度评分

适应性4.6
规范性3.9
有效性4.5
可靠性4.4
可信度4.7

📁 包含文件 (4 个)

📄 SKILL.md 1.1 KB
📄 _meta.json 139 B
📄 references/categories.md 651 B
📄 scripts/organize.py 5.8 KB