delete all duplicated files in paths provided.
defp deps do
[
#some other deps...
{:delete_dups, "~> 0.0.0"},
]
- check mongodb installation then run mongo instance:
mongod --port 5000
- run app by:
export BATA_BASE='choose_name'
iex -S mix
-
DeleteDups:
main function to run: will recieve paths you want to scan aand options
-
DB:
Define all needed functions to interact with the database: find, update, insert and delete.
-
Utils:
Define all needed functions used by main module, the hash function used to generate unique hash depending on it's content, surfer of folders and handling db insert or update.
-
Delete:
deleted matches between files