Find extra copies of the same file with Perl 6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/File/Find
t
.gitignore
.travis.yml Updates travis Feb 10, 2019
LICENSE first commit Dec 27, 2012
META6.json Merge branch 'patch-1' of git://github.com/zoffixznet/perl6-File-Find… May 8, 2017
README.md

README.md

File::Find::Duplicates

Provides a way to detect duplicate files. Searches through directories provided by you to find copies of files, and checks to see if the MD5 checksum is identical.

The basic ways to call it are:

use File::Find::Duplicates;
#Functional form:
my @dupes = find_duplicates(
				dirs=>['/folder1', 'path/folder2'],
				recursive => True,
				ignore_empty => True
);
#Method form, for IO::Path objects:
my @moredupes = "/copiedfiles".path.duplicates;

See the pod in Duplicates.pm for more information.