mrinjamul / go-dupfinder

Duplicate File Finder.
https://mrinjamul.github.io/go-dupfinder
MIT License
21 stars 0 forks source link

go-dupfinder deletes the original file #1

Closed mesmoiron closed 7 months ago

mesmoiron commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

I tested go-dupefinder on Ubuntu and it deletes the original file

To Reproduce Steps to reproduce the behavior:

  1. Copy and paste a document in a folder
  2. In terminal go-dupfinder find /path/to/some/directory
  3. press y to see duplicates: y
  4. go-dupfinder shows me the original file eg file.pdf instead of file(1).pdf
  5. delete duplicate: y
  6. deletes the original file.pdf file
  7. file cannot be found in the trash bin!

Expected behavior A duplicate finder that uses hash and time to figure out what the duplicate is, and if a file has been changed internally.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

mrinjamul commented 7 months ago

Sorry to hear that from you. I know about this. It keeps only one unique file and deletes others but does not think about the filename. It has been 2 years and I lost motivation and the time to work on this project. I developed it because I had thousands of music files on a hard disk and in some directories, there were duplicates. so I decided to clean them up and free up spaces.

But after some time, I saw that no one was gonna use this project, so I abandoned it. there are a lot of alternatives out there. one of them is fdupes. Also this list of alternatives.

Thank you for using this tool. but do have not the time to maintain it anymore. Again, thanks for using dupfinder. Now consider using other alternatives.