File::Find::Similars

File::Find::Similars is a Similar files locator.
Download

File::Find::Similars Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • SUN Tong
  • Publisher web site:
  • http://search.cpan.org/~suntong/Similars-1.1/Similars.pm

File::Find::Similars Tags


File::Find::Similars Description

File::Find::Similars is a Similar files locator. File::Find::Similars is a Similar files locator.SYNOPSIS use File::Find::Similars; File::Find::Similars->init(0, @ARGV); similarity_check_name();Similar-sized and similar-named files are picked as suspicious candidates of duplicated files.What descirbes it better than a actual output. Sample suspicious duplicated files: ## ========= 1574 PopupTest.java /home/tong/.../examples/chap10 1561 CardLayoutTest.java /home/tong/.../examples/chap1 1570 PopupButtonFrame.class /home/tong/.../examples/chap6 ## ========= 22984 BinderyHelloWorld.jpg /home/tong/... 17509 MacHelloWorld.gif /home/tong/...The first column is the size of the file, 2nd the name, and 3rd the path. The motto for the listing is that, I would rather my program overkills (wrongly picking out suspicious ones) than neglects something that would cause me otherwise years to notice.By default, File::Find::Similars(3) assumes that similar files within the same folder are OK. Hence you will not get duplicate warnings for generated files (like .o, .class or .aux, and .dvi files) or other file series.Once you are sure that there are no duplications between folders and want File::Find::Similars(3) to scoop further, specify the first parameter as 1. This is very good to eliminate similar mp3 files within the same folder, or downloaded files from big sites where different packaging methods are used, e.g.: ## ========= 66138 jdc-src.tar.gz .../ftp.ora.com/published/oreilly/java/javadc 147904 jdc-src.zip .../ftp.ora.com/published/oreilly/java/javadc Requirements: · Perl


File::Find::Similars Related Software