How can you delete all files from one folder that are already present in a second folder?

Get help for specific problems
Posts: 3
Joined: 7 Oct 2024

meet law

I want to see if all files from my downloads folder has been copied to my external hard drive and then delete from the downloads folder once existence of files on hard drive has been verified.
User avatar
Posts: 2995
Joined: 22 Aug 2012

Plerry

That is not a synchronization task, and can not be performed by FreeFileSync (FFS) automatically.
However, you can have FFS do the Comparison.
But you then need to do the selection and deletion manually.
You can do so by only making the equal files visible (via the "="-icon mid below the Compare results) and hiding the other Compare result categories (via the other icons mid below the Compare results), select all left-side items and delete those selected left-side items (assuming your download folder is your left-side base location).
Posts: 1239
Joined: 8 May 2006

therube

In Everything 1.5 alpha, something along these lines may do it...

dupe-from:C:\DOWNLOADS\ dupe:name

dupe-from:C:\DOWNLOADS\ dupe:name;date

dupe-from:C:\DOWNLOADS\ dupe:name;date;size

In this case, I'm comparing (all of O:, an external drive) against C: & E: (two internal volumes).
Compare is on size. In the shot, the names happen to be the same, but they need not be.
(Said volumes; O: C: E: are indexed in Everything.)
.
Everything - dup-from.png
Everything - dup-from.png (21.84 KiB) Viewed 124 times
https://www.voidtools.com/forum/viewtopic.php?t=9787