I have two folders and have files inside both folders. I want to compare both folder’s file names and want to move/copy unmatched files to a third folder.
How can I do this without any tools?
I want to perform this with cmd.
Example:
Folder 1:
Filename1.pdf
Filename2.pdf
Filename3.tiff
Filename4.jpg
Folder 2:
Filename1.pdf
Filename2.pdf
Filename3.tiff
Filename4.jpg
Filename5.pdf
Filename6.jpg
Result:
Folder 3:
Filename5.pdf
Filename6.jpg