编程

File Organizer Test

试用

Organize messy folders by moving files into subfolders grouped by extension, date, or category. Use for downloads cleanups and batch file sorting.

它能做什么

Organize messy folders by moving files into subfolders grouped by extension, date, or category. Use for downloads cleanups and batch file sorting.

技能文档

When to Use

Use when the main artifact is an organized folder, for example:

  • The user wants a messy downloads, desktop, or project folder sorted into subfolders.
  • Files should be grouped by type, extension, or modification date.
  • A cleanup should happen safely, with a preview before anything moves.

Core Rules

1. Always preview before moving

  • Run {baseDir}/scripts/organize.py with --dry-run first and show the plan to the user.
  • Only run without --dry-run after the user confirms the plan.
  • Never invent the plan; always read the actual directory first.

2. Never lose data

  • The script never overwrites existing files: name collisions get a numeric suffix.
  • Hidden files, symbolic links, and the script itself are always skipped.
  • If a file already sits inside its target group folder, it is left untouched.

3. Grouping rules

  • --by type (default): images, documents, videos, audio, archives, other — based on file extension.
  • --by ext: one subfolder per extension (for example pdf/, jpg/).
  • --by date: one subfolder per YYYY-MM based on last-modified time.
  • Use --recursive to include nested files; without it only the top level is processed.

Usage

# Preview only (always do this first)
python {baseDir}/scripts/organize.py "C:\path\to\folder" --by type --dry-run

# Execute after user confirmation
python {baseDir}/scripts/organize.py "C:\path\to\folder" --by type

Common Traps

  • Moving files changes paths; anything referencing old paths (shortcuts, scripts, configs) breaks silently.
  • The script groups by extension, so files with the wrong or missing extension can land in surprising folders.
  • Very large folders are safer to organize in smaller batches by category.

Output Format

Print one line per planned or executed move plus a summary line at the end. Always report the summary back to the user, and never claim success unless every listed move completed.

相关技能

Sort and organize files in a directory by type or by modification date, with dry-run preview, duplicate-name handling, and an auto-generated organization report. Use when the user wants to clean up, sort, categorize, or organize files in a folder, or asks for a file classification/overview report.

Organize workspace files by type, extension, and date. Use when: workspace is cluttered, need to sort downloads, clean up screenshots, organize media files, or prepare files for archival/backup.

1 次安装

AI File Organizer for Firefly AI Folder. Local AI file analysis, auto-categorization, smart renaming, auto-tagging, deduplication, semantic search, progress monitoring, and virtual directory plans. / 萤核智能文件夹AI整理助手。支持本地AI文件分析、智能分类与命名、自动打标、查重去重、全文搜索、进度监控与独创多维虚拟目录整理方案。

AI File Organizer for Firefly AI Folder. Local AI file analysis, auto-categorization, smart renaming, auto-tagging, deduplication, semantic search, progress...

Drive the installed FinalPlace Windows desktop app's auto-rules engine to automatically organize files — auto-sort, move, copy, compress, unzip, or rename fi...

OCR, tag, search, deduplicate, and organize screenshots. Makes screenshots searchable by content, detects and removes duplicates, groups by topic, and generates a searchable index. Use when a user has hundreds of unorganized screenshots and needs to find, clean, or categorize them.