Organize messy folders by moving files into subfolders grouped by extension, date, or category. Use for downloads cleanups and batch file sorting.
编程
my-content-organizer
试用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.
它能做什么
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.
技能文档
Content Organizer Skill
Sort and organize workspace files into clean category folders.
When to Use
✅ USE this skill when:
- "Organize my workspace" / "清理工作区"
- "Sort these files by type"
- "Where did my screenshots go?"
- Preparing files for backup or upload
- Downloads folder is a mess
Category Rules
| Folder | File Types |
|---|---|
| images/ | jpg, jpeg, png, gif, webp, svg, bmp, tiff |
| documents/ | pdf, doc, docx, txt, md, rtf, odt, xps |
| spreadsheets/ | xls, xlsx, csv, tsv, ods |
| archives/ | zip, tar, gz, bz2, 7z, rar |
| code/ | py, js, ts, html, css, json, yaml, sh, rb |
| media/ | mp3, mp4, wav, flac, mkv, mov, avi |
| other/ | anything else |
Basic Steps
1. Scan & Report
find . -maxdepth 2 -type f 2>/dev/null | head -50
2. Create Category Folders
mkdir -p images documents spreadsheets archives code media other
3. Move Files (dry run first!)
# Dry run — shows what would move
find . -maxdepth 1 -type f | while read f; do
ext="${f##*.}"
ext=$(echo "$ext" | tr '[:upper:]' '[:lower:]')
case "$ext" in
jpg|jpeg|png|gif|webp|svg|bmp|tiff) echo "Would move $f -> images/";;
pdf|doc|docx|txt|md|rtf|odt|xps) echo "Would move $f -> documents/";;
xls|xlsx|csv|tsv|ods) echo "Would move $f -> spreadsheets/";;
zip|tar|gz|bz2|7z|rar) echo "Would move $f -> archives/";;
py|js|ts|html|css|json|yaml|yml|sh|rb) echo "Would move $f -> code/";;
mp3|mp4|wav|flac|mkv|mov|avi) echo "Would move $f -> media/";;
*) echo "Would move $f -> other/";;
esac
done
4. Execute the Move
find . -maxdepth 1 -type f | while read f; do
[ "$f" = "./SKILL.md" ] && continue
ext="${f##*.}"
ext=$(echo "$ext" | tr '[:upper:]' '[:lower:]')
case "$ext" in
jpg|jpeg|png|gif|webp|svg|bmp|tiff) mv "$f" images/ 2>/dev/null;;
pdf|doc|docx|txt|md|rtf|odt|xps) mv "$f" documents/ 2>/dev/null;;
xls|xlsx|csv|tsv|ods) mv "$f" spreadsheets/ 2>/dev/null;;
zip|tar|gz|bz2|7z|rar) mv "$f" archives/ 2>/dev/null;;
py|js|ts|html|css|json|yaml|yml|sh|rb) mv "$f" code/ 2>/dev/null;;
mp3|mp4|wav|flac|mkv|mov|avi) mv "$f" media/ 2>/dev/null;;
*) mv "$f" other/ 2>/dev/null;;
esac
done
5. Verify
echo "=== Organized workspace ==="
ls -la */ 2>/dev/null
Notes
- Always dry run first — never skip the preview step
- Files with no extension go to
other/ - Hidden files (starting with
.) are skipped - Run from the directory you want to organize
相关技能
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.
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...
Organize auditable task packages and launch workflows