Skip to content
Find extra copies of the same file with Perl 6
Other
  1. Other 100.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/File/Find
t
.gitignore
.travis.yml
LICENSE
META6.json
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.

You can’t perform that action at this time.