Author image Tatsuhiko Miyagawa

NAME

File::Find::Rule::Digest - rules for matchig checksum

SYNOPSIS

  use File::Find::Rule::Digest;

  # find files to match some digest
  @files = find(file => md5 => 'a11d9dfbb277c90efe4c2d440feb47ba', in => '/var' );

  # OO
  @files = File::Find::Rule::Digest->file()
                                   ->sha1('88f008ad809bd3635b412ce2197d5bec')
                                   ->in('.');

DESCRIPTION

File::Find::Rule::Digest allows you to find files based on its checksums.

METHODS

Following methods are added to File::Find::Rule.

md5, sha1, hmac, md2

Finds files based on its checksum value. It uses Digest.pm module internally to get checksum for files.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

File::Find::Rule, Digest