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.
organize_history.json for tracking.python3 scripts/organize.py /path/to/folder
Great for photos or archives.
python3 scripts/organize.py /path/to/folder --date
See what would happen without moving anything.
python3 scripts/organize.py /path/to/folder --dry-run
Revert changes using the history file.
python3 scripts/organize.py --undo /path/to/folder/organize_history.json
Modify scripts/organize.py get_default_mapping() to add custom extensions.
小葱技能7w4.net持续更新中。
这个工具质量良好,功能实用且设计考虑周全。它能按类型或日期整理文件,支持模拟运行和撤销操作,可以放心试用。不过递归整理时可能把已分类好的文件再移一次,有小概率造成混乱。总体来说简单易用,适合日常文件管理需求。