Need a dupe-killer, please
I'm looking for a simple utility or script that will compare the contents of two directories and then delete all the files in directory A which are also found in directory B.
Ideally, I'd like to be able to control the parameters of the file-matching based on size, date of creation, date of modification, permissions, and perhaps other properties.
Also, I'd like the utility to make a backup of the files it deletes just in case.
I'm trying to clean out a directory into which I copied a whole bunch of libraries by mistake. I don't want to disturb the previous contents of the directory, however, and I'm not confident of the
Does this exist ready-made, or can someone help me know how to write a simple utility to do this? Warning: I'm an English major, O.K.? But I do know which end of the power cord to plug into the wall. Usually.
|