0.0
No commit activity in last 3 years
No release in over 3 years
Find and remove duplicated files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

find-duplicates

This tool is written directly for 1 usecase. There is 2 folders containing relativly similar files but these files are in different pathes. And you need to merge folder structures without space overhead.

Example you have files on your stick and PC HDD. Often these parallel structures are tend to diverse since the time.

Solution. Merge file sets with cp or rsync. Start this script over the result directory structure. Script builds hashes for all files. Groups paths to files with the same hash.

There is one deletion policy. A file from a duplicates group with longest path servive other are removed. Dry mode is used by default.

Installation

$ sudo gem install find-duplicates