Stella
Files and folders

Compare two folders and copy what's missing

Two copies of the family photos merged: 11 missing files copied in, nothing overwritten.

Download StellaFree with the plan you already have.

A real run on 14 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 30 s in real time.

The short answer.

Free tools compare folders by file name: robocopy on Windows or rsync on a Mac copies files that aren't there yet without overwriting, and WinMerge shows the differences side by side. Names mislead, though: a photo renamed in one copy gets copied again, and two different photos with the same name get skipped. Stella (stella.sh) compares by what's inside the files, copies only what's truly missing into the matching subfolders, keeps both photos when names clash, and never overwrites.

Stella does this on Windows, Mac and Linux.

What happened.

About a minute. Checked afterwards against an answer key written before the run: all 11 files only in the old copy now in the Pictures folder, in their matching subfolders, both same-name-but-different photos kept, every photo already there unchanged, renamed photos not copied again, no Thumbs.db copied, and the old copy untouched.

The photos are made up for this run, in two folders laid out like an old and a new copy. The work is sped up 4×.

How Stella does it.

  1. Compares Family photos in Pictures with the older copy in Documents by file content, not names
  2. Recognises six photos that were only renamed or moved in the newer copy, so they aren't copied twice
  3. Copies the 11 files only in the old copy into the matching subfolders, including a whole 2018 Wedding folder and a video
  4. Keeps both versions where two different photos share a name, adding “(old laptop)” to the older one's name
  5. Skips two Windows and Mac system files, leaves the old copy untouched and saves a list of what was added

The prompt.

I have two copies of our family photos: the Family photos folder in my Pictures, and an older copy from my old laptop in my Documents called 'Family photos (old laptop)'. Compare them and copy anything that's only in the old copy into the Pictures one, so nothing gets lost. Don't overwrite anything.

Paste it into Stella and press Enter.

This is the exact prompt from the recording. If your files are somewhere else, say where.

Do it yourself.

  1. Back up first

    Before merging, copy the newer folder somewhere safe, or make sure it's in your backup. A wrong copy command can overwrite photos, and an overwritten file doesn't go to the Trash.

  2. Windows: robocopy

    In Command Prompt: robocopy "%USERPROFILE%\Documents\Family photos (old laptop)" "%USERPROFILE%\Pictures\Family photos" /E /XC /XN /XO copies files whose name isn't there yet, with subfolders, and skips any that exist. Add /L first to only list what it would do.

  3. Mac: rsync

    In Terminal: rsync -av --ignore-existing ~/Documents/'Family photos (old laptop)'/ ~/Pictures/'Family photos'/. Add -n to try it without copying. It also matches by name, so renamed photos come across again.

  4. Or see the differences side by side

    WinMerge (free, Windows) compares two folders and shows files only on the left, only on the right, or different. Filter to left-only and copy those across. Turn on content comparison to catch same-name files that differ.

  5. Check the same-name files

    Name-based tools skip a file that exists in both places even if the photos are different. Look at those by eye and copy any different ones across with a new name.

Where it stops.

  • It copies one way, as asked. Two-way syncing, where deletions are mirrored too, is a different job; say so if that's what you want.
  • A photo that was edited in one copy (rotated, cropped) counts as different, so both versions are kept.
  • File names and folder structure go to the AI model you use in Stella; the photos themselves are compared on your computer.
  • Recorded on Linux, where Stella used Python, built in on Mac and Linux. On Windows it may install Python first, which wasn't recorded.

Questions.

How do I compare two folders on Windows 11?

Windows has no built-in folder compare. Use robocopy with /L to list differences without copying, or the free WinMerge to see them side by side.

How do I compare two folders on a Mac?

diff -rq folder1 folder2 in Terminal lists files only in one or different in both. Apple's FileMerge does it with windows but comes with Xcode.

Will it delete the old copy?

No. It copies and leaves the old copy alone, and says when it looks safe to delete. For duplicates within one folder, see find duplicate photos.

Can it put everything from many subfolders into one?
Is Stella free for this?

Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

Can I control what Stella changes on my computer?

Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Checked against these sources on 14 November 2026.

Stella