Rename, organize and de-duplicate files with Claude Code
- Source date:
- Last verified:
- Method:
- How we verify
Evidence: Described by posterThe person describes what happened in words, without screenshots or video.
Outcome
Claude Code organized and renamed the poster's files and folders and found and removed duplicates; the poster says it worked incredibly well.
Agent
Prompt Recreated prompt
The source did not publish its exact prompt. This one is our reconstruction from what the source describes.
Not sure how to start? Tell me what you're trying to get done and I'll help you turn it into a clear request. Goal: Tidy up this folder: give files and folders clear, consistent names, and find duplicate files. Quick check first: Which folder should I work on, and do you have a naming style in mind? What I need from you: - The folder you want cleaned up - Your preferred naming style, if you have one Rules: - Show me the proposed new names and folder layout before you change anything. - List the duplicates you find and confirm with me before deleting any of them. - If something is missing or unclear, ask me instead of guessing. - Stay inside the folder you gave me. - Stop when the cleanup is done and hand back a summary. Output: A list of what was renamed, what was moved, and which duplicates were removed. If any of this is unclear, tell me what you have and I'll help fill the gaps. You'll know it worked when: the folder is easy to browse, names follow one style, and no file appears twice. Works best when: you have a backup of the folder.
Source
https://x.com/JoniYashvili/status/1948767932202238289
By Joni (@JoniYashvili) · Published Jul 25, 2025 · Added Oct 15, 2026 · Last verified Oct 15, 2026
Related cases
- Rename a pile of train tickets by date and destination with Claude CoworkRecreated promptEvidence: Described by poster
Claude Cowork read a pile of train tickets and renamed each file by its correct date and destination.
Claude Cowork · Personal · Source date:
- Sort and rename messy invoices for taxes with Claude CodeRecreated promptEvidence: Article or interview
Claude Code reads each file in a messy invoice folder, renames it to 'YYYY-MM-DD Vendor - Invoice - ProductOrService.pdf' and files it in the right folder.
Claude Code · Ops · Source date:
Claude Code read and changed the local Apple Notes database and organized 225 notes in about 5 minutes with little manual effort.
Poster says:225 notes organized in about 5 minutes
Claude Code · Personal · Source date: