New to AI? Start here → Start 1. What can you do with Claude?

Last checked: November 10, 2026

Organize a folder with Claude Code

In one line

Start Claude Code in your Downloads folder and say “Show me a plan for organizing it first. Don’t delete anything.” Look at the plan, and if it looks good, just give permission.

The big picture

★ The 3 beats of handing work to Claude Code ★

① Get a plan

"Just show me the plan first"

② Give permission

Answer "May I do this?"

③ Check it

Open the folder and see for yourself

Do every job in this order!

Follow along

Step 1. Start it in your Downloads folder

Open the terminal and type the following. (If you’re new to the terminal, read The terminal isn’t scary first.)

cd ~/Downloads
claude

In Windows PowerShell, it’s cd $HOME\Downloads. The first time you start it, it asks “Do you trust this folder?” If it’s your Downloads folder, choose Yes.

Then press Shift + Tab so ⏸ manual mode on shows at the bottom of the screen. In the default auto mode it moves files right away without asking, so at first it’s best to watch and approve each step. There’s more in Understand permission requests.

Step 2. Get a plan

I want to organize the files in this folder by type. Show me a plan for creating Documents, Photos, Archives, Installers, and Other folders and moving the files into them. Don’t move anything yet, and never delete any files.

Illustration (may look a little different from the real screen)

I want to organize the files in this folder by type. Show me a plan for creating Documents, Photos, Archives, Installers, and Other folders and moving the files into them. Don't move anything yet, and never delete any files.

Sample replyI looked through 152 files.
• Documents: 48 (pdf, docx, xlsx, pages)
• Photos: 61 (jpg, png, heic)
• Archives: 17
• Installers: 14 (dmg, pkg, exe)
• Other: 12

Shall I create the folders and move them like this?

Step 2: get the plan first

Step 3. Give permission and watch

Say “OK, go ahead,” and in manual mode Claude Code asks “May I do this?” before running each command. Read what it’s about to do and choose Yes. Permissions are covered in detail in Understand permission requests.

Step 4. Check the result and close it

Open your Downloads folder in Finder (File Explorer on Windows) and check. When you’re done, type /exit or close the window.

Where people get stuck

Lots of people get stuck here. Find the one that matches your situation!

“It says it can’t access the folder (Mac)”

If your Mac asks “Terminal would like to access files in your Downloads folder,” click Allow. If you already said no, go to System Settings → Privacy & Security → Files and Folders and turn on Terminal.

“I want to stop it partway”

Press Esc and Claude Code stops what it’s doing and waits for you. To quit completely, press Ctrl+C twice.

“I want to undo it”

Just say “Move the files you just moved back where they were.” Since nothing was deleted, it can be undone.

Next tip

Batch-process files with Claude Code →

I'm stuck here

Stuck while following along? Tell me where. Only the site owner sees this. Leave your email only if you'd like a reply.