How to separate duplicate and unique files from two folders

I have two folders A and B listing files.

I would like to have a new folder listing duplicates and then another folder listing the other files that are not duplicates.

MacBook Air 15″

Posted on Jan 25, 2026 2:42 PM

Reply
2 replies

Jan 25, 2026 4:41 PM in response to Bomiboll

Bomiboll wrote:

I have two folders A and B listing files.
I would like to have a new folder listing duplicates and then another folder listing the other files that are not duplicates.

How are you defining "duplicate"? By filename? Or by contents in file? Certainly possible to have two files with the same name but contain different file data.

How to separate duplicate and unique files from two folders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.