File::DirSync

Syncronize two directories rapidly
Download

File::DirSync Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Rob Brown
  • Publisher web site:
  • http://karmatics.com/aardvark/

File::DirSync Tags


File::DirSync Description

Syncronize two directories rapidly File::DirSync is a Perl module to syncronize two directories rapidly.SYNOPSIS use File::DirSync; my $dirsync = new File::DirSync { verbose => 1, nocache => 1, localmode => 1, }; $dirsync->src("/remote/home/www"); $dirsync->dst("/home/www"); $dirsync->ignore("CVS"); $dirsync->rebuild(); # and / or $dirsync->dirsync();File::DirSync will make two directories exactly the same. The goal is to perform this syncronization process as quickly as possible with as few stats and reads and writes as possible. It usually can perform the syncronization process within a few milliseconds - even for gigabytes or more of information.Much like File::Copy::copy, one is designated as the source and the other as the destination, but this works for directories too. It will ensure the entire file structure within the descent of the destination matches that of the source. It will copy files, update time stamps, adjust symlinks, and remove files and directories as required to force consistency.The algorithm used to keep the directory structures consistent is a dirsync cache stored within the source structure. This cache is stored within the timestamp information of the directory nodes. No additional checksum files or separate status configurations are required nor created. So it will not affect any files or symlinks within the source_directory nor its descent. Requirements: · Perl


File::DirSync Related Software