File Organization

eyadsibai/ltk/plugins/ltk-product/skills/file-organization

by eyadsibaif8e85697b95d8e4968cff3c49d20e632048faae9No license7 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 8 months ago

Use when "organizing files", "cleaning up folders", "finding duplicates", "structuring directories", or asking about "Downloads cleanup", "folder structure", "file management"

Instructions onlyProductivity & Workflow
AI-generated overview

Guides organizing files, finding duplicates, and maintaining clean folder structures using shell commands.

What it does
This skill provides a workflow and shell command reference for tidying directories: analyzing a folder's contents, detecting duplicate files by hash, name, or size, and proposing an organization scheme by type, purpose, or date. It outlines execution steps for creating folders and moving files, plus naming conventions, archiving criteria, and a maintenance schedule. It is instructions only and ships no scripts.
When to use it
Use it when a Downloads folder is chaotic, files are scattered and hard to find, duplicates are consuming space, or a folder structure needs to be designed or cleaned up before archiving.
Requirements
No scripts or packages are bundled; it relies on standard shell utilities such as ls, find, du, md5sum, sort, uniq, mkdir, and mv, and on the agent's ability to run shell commands.
<!-- Adapted from: awesome-claude-skills/file-organizer -->

File Organization Guide

Organize files, find duplicates, and maintain clean folder structures.

When to Use

  • Downloads folder is chaotic
  • Can't find files (scattered everywhere)
  • Duplicate files taking up space
  • Folder structure doesn't make sense
  • Starting a new project structure
  • Cleaning up before archiving

Analysis Commands

bash
# Overview of directoryls -la [directory]
# Count file typesfind [directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
# Largest filesdu -sh [directory]/* | sort -rh | head -20
# Files modified this weekfind [directory] -type f -mtime -7

Finding Duplicates

bash
# By hash (exact duplicates)find [directory] -type f -exec md5sum {} \; | sort | uniq -d
# By namefind [directory] -type f -printf '%f\n' | sort | uniq -d
# By sizefind [directory] -type f -printf '%s %p\n' | sort -n | uniq -D -w 10

Organization Patterns

By Type

Downloads/├── Documents/     # PDF, DOCX, TXT├── Images/        # JPG, PNG, SVG├── Videos/        # MP4, MOV├── Archives/      # ZIP, TAR, DMG├── Code/          # Projects└── ToSort/        # Needs decision

By Purpose

Documents/├── Work/│   ├── Projects/│   ├── Reports/│   └── Archive/└── Personal/    ├── Finance/    ├── Medical/    └── Archive/

By Date

Photos/├── 2024/│   ├── 01-January/│   ├── 02-February/│   └── ...├── 2023/└── Unsorted/

Organization Workflow

  1. Analyze - Review current structure
  2. Plan - Propose new structure
  3. Confirm - Get user approval
  4. Execute - Move files systematically
  5. Summarize - Report changes

Execution Commands

bash
# Create structuremkdir -p "path/to/new/folders"
# Move filesmv "old/path/file.pdf" "new/path/file.pdf"
# Batch move by extensionfind . -name "*.pdf" -exec mv {} Documents/ \;

Best Practices

Folder Naming

  • Clear, descriptive names
  • Avoid spaces (use hyphens)
  • Use prefixes for ordering: 01-current, 02-archive

File Naming

  • Include dates: 2024-10-17-meeting-notes.md
  • Be descriptive
  • Remove download artifacts: file (1).pdf → file.pdf

When to Archive

  • Not touched in 6+ months
  • Completed work for reference
  • Old versions after migration
  • Files you're hesitant to delete

Maintenance Schedule

FrequencyTask
WeeklySort new downloads
MonthlyReview/archive projects
QuarterlyCheck for duplicates
YearlyArchive old files

Important Rules

  • Always confirm before deleting
  • Log all moves for undo
  • Preserve modification dates
  • Stop and ask on unexpected situations

Source and attribution

Source:eyadsibai/ltkinplugins/ltk-product/skills/file-organizationat commitf8e8569

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal