File::Dedup - Deduplicate files across directories
version 0.007
use File::Dedup;
File::Dedup->new( directory => '/home/hunter/', recursive => 1 )->dedup;
or
use File::Dedup
my $deduper = File::Dedup->new(
directory => '/home/hunter/',
recursive => 1,
ask => 0,
);
$deduper->dedup;
A small utility to identify duplicate files in a given directory and optionally delete them
File::Dedup
-
directory
Directory to start searching for duplicates in. [required]
-
ask
-
recursive
Recursively search the directory tree for duplicates. [optional]
-
group
*NOT YET IMPLEMENTED*. Instead of deleting duplicates this option will write all duplicates into their own subfolders for deletion at the user's leisure.
-
dedup
Identifies and eliminates duplicate files based on the options supplied by the user.
Hunter McMillen [email protected]
This software is copyright (c) 2015 by Hunter McMillen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.