|
Archive::Parity - makes parity file; recover files. |
Archive::Parity - makes parity file; recover files.
use Archive::Parity;
# to make a parity file from a list of files:
Archive::Parity::do_parity (out_filename, filename1, filename2, filename3);
# to recover a lost file:
# use the same command, placing the lost file name in front of the list:
Archive::Parity::do_parity (filename1, out_filename, filename2, filename3);
The parity file must have a ``.par'' extension.
object interface. try not to overwrite outfile; do not allow repeated filenames. save filename; check errors. memory operation for small files. Test with different chunk sizes. check_parity just to check if everything is ok. write 'usage' for eg/do_parity.pl
0.06 'use vars' instead of 'our'
make a proper module instead of 'zip'
Flávio Soibelmann Glock - fglock@pucrs.br
|
Archive::Parity - makes parity file; recover files. |