Comparing two folders and performing delete

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ckp
Posts: 56
Joined: 07 Oct 2016 17:05

Comparing two folders and performing delete

Post by ckp »

I have two different folders (each on a different drive) with lots of zip files in each (no sub folders).
Folder A is a subset of the files in Folder B.
I need to delete all the file names in Folder B that are not in Folder A, BUT I can't just sync A to B because the files in the two folders are different even though they have the same names.
Is this possible with my paid version of XYplorer?

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Comparing two folders and performing delete

Post by highend »

Activate Dual Pane mode (by default F10)
Open Folder A in one pane and Folder B in the other
Menu - Panes - Sync Select...
Choose "Select Uniques"
and if folder B is not the one in the active pane
take [x] On both panes
as well
One of my scripts helped you out? Please donate via Paypal

ckp
Posts: 56
Joined: 07 Oct 2016 17:05

Re: Comparing two folders and performing delete

Post by ckp »

Good god that's awesome, it worked! Thanks a TON!!

Post Reply