archiving
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 743
Archive::Zip 1.20
Archive::Zip is a Perl module which provides an interface to ZIP archive files. more>>
Archive::Zip is a Perl module which provides an interface to ZIP archive files.
SYNOPSIS
# Create a Zip file
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
my $zip = Archive::Zip->new();
# Add a directory
my $dir_member = $zip->addDirectory( dirname/ );
# Add a file from a string with compression
my $string_member = $zip->addString( This is a test, stringMember.txt );
$string_member->desiredCompressionMethod( COMPRESSION_DEFLATED );
# Add a file from disk
my $file_member = $zip->addFile( xyz.pl, AnotherName.pl );
# Save the Zip file
unless ( $zip->writeToFileNamed(someZip.zip) == AZ_OK ) {
die write error;
}
# Read a Zip file
my $somezip = Archive::Zip->new();
unless ( $somezip->read( someZip.zip ) == AZ_OK ) {
die read error;
}
# Change the compression type for a file in the Zip
my $member = $somezip->memberNamed( stringMember.txt );
$member->desiredCompressionMethod( COMPRESSION_STORED );
unless ( $zip->writeToFileNamed( someOtherZip.zip ) == AZ_OK ) {
die write error;
}
The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.
Zip archives can be created, or you can read from existing zip files.
Once created, they can be written to files, streams, or strings. Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed.
Members can be created from members in existing Zip files, or from existing directories, files, or strings.
This module uses the Compress::Zlib library to read and write the compressed streams inside the files.
<<lessSYNOPSIS
# Create a Zip file
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
my $zip = Archive::Zip->new();
# Add a directory
my $dir_member = $zip->addDirectory( dirname/ );
# Add a file from a string with compression
my $string_member = $zip->addString( This is a test, stringMember.txt );
$string_member->desiredCompressionMethod( COMPRESSION_DEFLATED );
# Add a file from disk
my $file_member = $zip->addFile( xyz.pl, AnotherName.pl );
# Save the Zip file
unless ( $zip->writeToFileNamed(someZip.zip) == AZ_OK ) {
die write error;
}
# Read a Zip file
my $somezip = Archive::Zip->new();
unless ( $somezip->read( someZip.zip ) == AZ_OK ) {
die read error;
}
# Change the compression type for a file in the Zip
my $member = $somezip->memberNamed( stringMember.txt );
$member->desiredCompressionMethod( COMPRESSION_STORED );
unless ( $zip->writeToFileNamed( someOtherZip.zip ) == AZ_OK ) {
die write error;
}
The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.
Zip archives can be created, or you can read from existing zip files.
Once created, they can be written to files, streams, or strings. Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed.
Members can be created from members in existing Zip files, or from existing directories, files, or strings.
This module uses the Compress::Zlib library to read and write the compressed streams inside the files.
Download (0.17MB)
Added: 2007-07-03 License: Perl Artistic License Price:
852 downloads
archivemail 0.7.0
archivemail is an archiver and compressor for old email messages. more>>
archivemail is a tool written in Python for archiving and compressing old email in mailboxes. archivemail can move messages older than the specified number of days to a separate mbox format mailbox that is compressed with gzip, or optionally just delete old email.
Maybe some of your mailboxes are quite large (eg, over 10,000 messages) and they are taking a while to load in your mail reader. Perhaps they are taking up too much space on your disk. Archiving old messages to a separate, compressed mailbox will mean:
1. Your mail reader will get a huge performance boost loading and reading your mail.
2. You will be taking up less disk space, since old mail will be compressed. (Mail usually compresses quite nicely.)
3. You wont be confronted with semi-obsolete mail all the time.
If you would prefer to just delete old email rather than archive it, archivemail can do that too.
Main features:
- Support for archiving IMAP, mbox, MH and maildir format mailboxes.
- You can configure the amount of days before mail is considered old -- with the default being 180 days.
- Messages that are flagged important are not archived or deleted unless you specify the --include-flagged option.
- Optionally warn about duplicate Message-IDs in a mailbox.
- You can specify an option so that unread mail is never archived.
- Allows you to store the compressed archive mailboxes in a directory of your choice, with an extension of your choice.
- Support for deleting old mail rather than archiving it.
- Optional ability to archive messages older than an absolute date with the --date option.
- Ability to only archive messages over a certain byte size.
<<lessMaybe some of your mailboxes are quite large (eg, over 10,000 messages) and they are taking a while to load in your mail reader. Perhaps they are taking up too much space on your disk. Archiving old messages to a separate, compressed mailbox will mean:
1. Your mail reader will get a huge performance boost loading and reading your mail.
2. You will be taking up less disk space, since old mail will be compressed. (Mail usually compresses quite nicely.)
3. You wont be confronted with semi-obsolete mail all the time.
If you would prefer to just delete old email rather than archive it, archivemail can do that too.
Main features:
- Support for archiving IMAP, mbox, MH and maildir format mailboxes.
- You can configure the amount of days before mail is considered old -- with the default being 180 days.
- Messages that are flagged important are not archived or deleted unless you specify the --include-flagged option.
- Optionally warn about duplicate Message-IDs in a mailbox.
- You can specify an option so that unread mail is never archived.
- Allows you to store the compressed archive mailboxes in a directory of your choice, with an extension of your choice.
- Support for deleting old mail rather than archiving it.
- Optional ability to archive messages older than an absolute date with the --date option.
- Ability to only archive messages over a certain byte size.
Download (0.035MB)
Added: 2006-11-05 License: GPL (GNU General Public License) Price:
1084 downloads
Archive sort 0.1
Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs. more>>
Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs.
It is useful if you have several tens or hundreds of GBs of data to archive. It can also be configured to sort into 700MB directories for archiving onto CDs.
Usage: ./archive-sort [-h] [-s SIZE] [-t] [-v] SOURCE DEST
Archive files from directory DEST to new directory SOURCE in 4.4GB chunks,
or any SIZE specified by the user.
This script has not been tested extensively, so it is recommended that you make a copy of the directory you want to archive, then run the script on that directory. Always use the -t (test) option first and carefully read the output before using the script.
Optional arguments.
-h Print this help message.
-s Size of the archive media (default 4.4 GB)
-t Test run with verbose messages.
-v Verbose
Examples:
First cd to directory containing directories to be archived:
cd /home/user/archive
archive-sort . ../disc01
This is useful if you have several large directories under /home/user/archive, but no files. The archive directory will not be included in disc01.
If you have a directory full of lots of files, then cd to the parent directory of the directory that needs to be archived:
cd /home/user
archive-sort archive disc01
<<lessIt is useful if you have several tens or hundreds of GBs of data to archive. It can also be configured to sort into 700MB directories for archiving onto CDs.
Usage: ./archive-sort [-h] [-s SIZE] [-t] [-v] SOURCE DEST
Archive files from directory DEST to new directory SOURCE in 4.4GB chunks,
or any SIZE specified by the user.
This script has not been tested extensively, so it is recommended that you make a copy of the directory you want to archive, then run the script on that directory. Always use the -t (test) option first and carefully read the output before using the script.
Optional arguments.
-h Print this help message.
-s Size of the archive media (default 4.4 GB)
-t Test run with verbose messages.
-v Verbose
Examples:
First cd to directory containing directories to be archived:
cd /home/user/archive
archive-sort . ../disc01
This is useful if you have several large directories under /home/user/archive, but no files. The archive directory will not be included in disc01.
If you have a directory full of lots of files, then cd to the parent directory of the directory that needs to be archived:
cd /home/user
archive-sort archive disc01
Download (0.006MB)
Added: 2006-07-24 License: GPL (GNU General Public License) Price:
1188 downloads
Archive::Rar 1.9
Archive::Rar is a interface with the rar command. more>>
Archive::Rar is a interface with the rar command.
SYNOPSIS
use Archive::Rar;
my $rar =new Archive::Rar();
$rar->Add(
-size => $size_of_parts,
-archive => $archive_filename,
-files => @list_of_files,
);
This is a module for the handling of rar archives.
Locates the rar command (from PATH or from regedit for Win32) and encapsulate it to create, extract and list rar archives.
At the moment these methods are implemented:
new()
Returns a new Rar object. You can pass defaults options.
Add(%options)
Add file to an archive.
Extract(%options)
Extract the contains of an archive.
List(%options)
Fill the list variable of the object whith the index of an archive.
OPTIONS
-archive
Archive filename.
-files
List of files to add. You can use a scalar value or an array reference.
-quiet
No output for the rar command if True.
-sfx
Create self-extracting archive.
-size
Size of the parts in bytes.
-verbose
Level of verbosity.
<<lessSYNOPSIS
use Archive::Rar;
my $rar =new Archive::Rar();
$rar->Add(
-size => $size_of_parts,
-archive => $archive_filename,
-files => @list_of_files,
);
This is a module for the handling of rar archives.
Locates the rar command (from PATH or from regedit for Win32) and encapsulate it to create, extract and list rar archives.
At the moment these methods are implemented:
new()
Returns a new Rar object. You can pass defaults options.
Add(%options)
Add file to an archive.
Extract(%options)
Extract the contains of an archive.
List(%options)
Fill the list variable of the object whith the index of an archive.
OPTIONS
-archive
Archive filename.
-files
List of files to add. You can use a scalar value or an array reference.
-quiet
No output for the rar command if True.
-sfx
Create self-extracting archive.
-size
Size of the parts in bytes.
-verbose
Level of verbosity.
Download (0.008MB)
Added: 2006-06-28 License: Perl Artistic License Price:
1252 downloads
MailArchiva 1.3
MailArchiva is a powerful email archiving solution. more>>
MailArchiva is a powerful email archiving solution. MailArchiva project is all you need to ensure that your organizations emails are backed up permanently. It automatically retrieves emails from Microsoft Exchange and stores them on multiple hard disks.
MailArchiva stores all incoming, outgoing, and internal emails for long-term storage. In doing so, it enables your company to retain valuable knowledge and comply with US and EU legislation such as the Sarbanes Oxley Act.
MailArchiva ensures that the integrity of your information remains intact. Emails are stored directly on the filesystem, as opposed to a database. As a result, there are no hidden database maintenance costs and the integrity of archived information is not subject to database corruption.
MailArchiva is a turnkey product that is easy to install and use. A clean install usually takes approximately 30 minutes.
MailArchiva is a commercially supported open source product. You have the assurance of commercial grade support combined with open source benefits.
Enhancements:
- This release introduces several major enhancements and bugfixes.
- For instance, MailArchiva is now fully internationalized, supporting indexing, search, and retrieval of emails in multiple languages.
- The archiving server has been completely rearchitected to utilize Java 1.6 contructs.
- The Microsoft Exchange archiving agent has been redesigned from the ground up.
<<lessMailArchiva stores all incoming, outgoing, and internal emails for long-term storage. In doing so, it enables your company to retain valuable knowledge and comply with US and EU legislation such as the Sarbanes Oxley Act.
MailArchiva ensures that the integrity of your information remains intact. Emails are stored directly on the filesystem, as opposed to a database. As a result, there are no hidden database maintenance costs and the integrity of archived information is not subject to database corruption.
MailArchiva is a turnkey product that is easy to install and use. A clean install usually takes approximately 30 minutes.
MailArchiva is a commercially supported open source product. You have the assurance of commercial grade support combined with open source benefits.
Enhancements:
- This release introduces several major enhancements and bugfixes.
- For instance, MailArchiva is now fully internationalized, supporting indexing, search, and retrieval of emails in multiple languages.
- The archiving server has been completely rearchitected to utilize Java 1.6 contructs.
- The Microsoft Exchange archiving agent has been redesigned from the ground up.
Download (20.5MB)
Added: 2007-06-27 License: LGPL (GNU Lesser General Public License) Price:
856 downloads
Archive::Tyd 0.02
Archive::Tyd is a Perl extension for simple file archiving. more>>
Archive::Tyd is a Perl extension for simple file archiving.
SYNOPSIS
use Archive::Tyd;
my $tyd = new Archive::Tyd (password => secret password);
# Load an archive.
$tyd->openArchive ("./archive.tyd");
# Add a file.
$tyd->addFile ("./secret image.jpg");
# Write the archive.
$tyd->writeArchive ("./archive.tyd");
# Read the secret rules.
my $rules = $tyd->readFile ("rules.txt");
Tyd is a simple archiving algorith for merging multiple files together and encrypting the results, hence a password-protected archive.
Tyd Does: Reading and writing of encrypted Tyd archives and file operations within.
Tyd Does: Load all files into memory. Tyd is not good as a storage device for a large quanitity of large files. Tyd is best for keeping small text files and graphics together (maybe to keep a spriteset and definitions for a game?)
Tyd Does Not: support directories within the archive, compression of files, and many other things that WinZip and GZip support.
<<lessSYNOPSIS
use Archive::Tyd;
my $tyd = new Archive::Tyd (password => secret password);
# Load an archive.
$tyd->openArchive ("./archive.tyd");
# Add a file.
$tyd->addFile ("./secret image.jpg");
# Write the archive.
$tyd->writeArchive ("./archive.tyd");
# Read the secret rules.
my $rules = $tyd->readFile ("rules.txt");
Tyd is a simple archiving algorith for merging multiple files together and encrypting the results, hence a password-protected archive.
Tyd Does: Reading and writing of encrypted Tyd archives and file operations within.
Tyd Does: Load all files into memory. Tyd is not good as a storage device for a large quanitity of large files. Tyd is best for keeping small text files and graphics together (maybe to keep a spriteset and definitions for a game?)
Tyd Does Not: support directories within the archive, compression of files, and many other things that WinZip and GZip support.
Download (0.008MB)
Added: 2006-06-28 License: Perl Artistic License Price:
1213 downloads
Archive::Builder 1.06
Archive::Builder is a file generation and archiving framework. more>>
Archive::Builder is a file generation and archiving framework.
SYNOPSIS
# Make a builder with one section, and some files
my $Builder = Archive::Builder->new;
my $Section = $Builder->new_section( html );
$Section->add_file( one.html, string, qq~
Hello World!
~ );
$Section->add_file( two.html, file, ./source/file.html );
$Section->add_file( three.html, Custom::function, @args );
# Generate and save to disk
$Builder->save( ./somewhere );
# Create an zip file from it and save it.
my $Archive = $Builder->archive( zip ).
$Archive->save( foo.zip );
# Create a tar.gz file of just one section
my $Tar = $Section->archive( tar.gz );
Perl is often used for applications that generate large numbers of files, and Archive::Builder is designed to assist in these sorts of tasks.
It provides a framework for defining a set of files, and how they will be generated, and a series of methods for turning them into an Archive of varying types, or saving directly to disk.
<<lessSYNOPSIS
# Make a builder with one section, and some files
my $Builder = Archive::Builder->new;
my $Section = $Builder->new_section( html );
$Section->add_file( one.html, string, qq~
Hello World!
~ );
$Section->add_file( two.html, file, ./source/file.html );
$Section->add_file( three.html, Custom::function, @args );
# Generate and save to disk
$Builder->save( ./somewhere );
# Create an zip file from it and save it.
my $Archive = $Builder->archive( zip ).
$Archive->save( foo.zip );
# Create a tar.gz file of just one section
my $Tar = $Section->archive( tar.gz );
Perl is often used for applications that generate large numbers of files, and Archive::Builder is designed to assist in these sorts of tasks.
It provides a framework for defining a set of files, and how they will be generated, and a series of methods for turning them into an Archive of varying types, or saving directly to disk.
Download (0.050MB)
Added: 2006-06-28 License: Perl Artistic License Price:
1213 downloads
Archive::TarGzip 0.03
Archive::TarGzip is a Perl module to save and restore files to and from compressed tape archives (tar). more>>
Archive::TarGzip is a Perl module to save and restore files to and from compressed tape archives (tar).
SYNOPSIS
######
# Subroutine Interface
#
use Archive::TarGzip qw(parse_header tar untar);
$tar_file = tar(@file, @options);
$tar_file = tar(@file);
$success = untar(@file);
$success = untar(@file, @options);
%tar_header = parse_header($buffer);
######
# File subroutines
#
use Archive::TarGzip;
tie *TAR_FILEHANDLE, Tie::Layers
tie *TAR_FILEHANDLE, Tie::Layers, @options
$success = open(TAR_FILEHANDLE, $tar_file);
$success = open(TAR_FILEHANDLE, $mode, $tar_file);
$success = print TAR_FILEHANDLE $file_name;
$success = print TAR_FILEHANDLE $file_name, $file_contents;
%tar_header = ;
$success = close(TAR_FILEHANDLE);
######
# Object
#
tie *TAR_FILEHANDLE, Tie::Layers;
tie *TAR_FILEHANDLE, Tie::Layers, @options;
$tar = tied *TAR_FILEHANDLE;
$tar = new Archive::TarGzip( );
$tar = new Archive::TarGzip(@options);
$success = $tar->OPEN( $tar_file, @options);
$success = $tar->OPEN( $mode, $tar_file, @options);
$success = $tar->PRINT($file_name);
$success = $tar->PRINT($file_name, $file_contents);
%tar_header = $tar->READLINE(@options);
%tar_header = $tar->READLINE(@file, @options);
$status = $tar->target( $buffer, $size);
$success = $tar->CLOSE();
The Archive::TarGzip module provides tar subroutine to archive a list of files in an archive file in the tar format. The archive file may be optionally compressed using the gzip compression routines. The Archive::TarGzip module also provides a untar subroutine that can extract the files from the tar or tar/gzip archive files. The tar and untar top level subroutines use methods from the Archive::TarGzip class.
The Archive::TarGzip class has many similarities to the very mature Archive::Tar class being at least three years older. The newer Archive::TarGzip relied very heavy on the work of the author of the Archive::Tar and in many instance the Archive::Tar is a better solution.
Altough the underlying tar file format is the same and similar code is used to access the data in the underlying tar files, the interace bewteen the two are completely different. The Archive::TarGzip is built on a Tie File Handle type interface. The nthe Archive::TarGzip provide means to access individual files within the archive file without bringing the entire archive file into memory. When the gzip compression option is active, the compression is performed on the fly without creating an intermediate uncompressed tar file.
<<lessSYNOPSIS
######
# Subroutine Interface
#
use Archive::TarGzip qw(parse_header tar untar);
$tar_file = tar(@file, @options);
$tar_file = tar(@file);
$success = untar(@file);
$success = untar(@file, @options);
%tar_header = parse_header($buffer);
######
# File subroutines
#
use Archive::TarGzip;
tie *TAR_FILEHANDLE, Tie::Layers
tie *TAR_FILEHANDLE, Tie::Layers, @options
$success = open(TAR_FILEHANDLE, $tar_file);
$success = open(TAR_FILEHANDLE, $mode, $tar_file);
$success = print TAR_FILEHANDLE $file_name;
$success = print TAR_FILEHANDLE $file_name, $file_contents;
%tar_header = ;
$success = close(TAR_FILEHANDLE);
######
# Object
#
tie *TAR_FILEHANDLE, Tie::Layers;
tie *TAR_FILEHANDLE, Tie::Layers, @options;
$tar = tied *TAR_FILEHANDLE;
$tar = new Archive::TarGzip( );
$tar = new Archive::TarGzip(@options);
$success = $tar->OPEN( $tar_file, @options);
$success = $tar->OPEN( $mode, $tar_file, @options);
$success = $tar->PRINT($file_name);
$success = $tar->PRINT($file_name, $file_contents);
%tar_header = $tar->READLINE(@options);
%tar_header = $tar->READLINE(@file, @options);
$status = $tar->target( $buffer, $size);
$success = $tar->CLOSE();
The Archive::TarGzip module provides tar subroutine to archive a list of files in an archive file in the tar format. The archive file may be optionally compressed using the gzip compression routines. The Archive::TarGzip module also provides a untar subroutine that can extract the files from the tar or tar/gzip archive files. The tar and untar top level subroutines use methods from the Archive::TarGzip class.
The Archive::TarGzip class has many similarities to the very mature Archive::Tar class being at least three years older. The newer Archive::TarGzip relied very heavy on the work of the author of the Archive::Tar and in many instance the Archive::Tar is a better solution.
Altough the underlying tar file format is the same and similar code is used to access the data in the underlying tar files, the interace bewteen the two are completely different. The Archive::TarGzip is built on a Tie File Handle type interface. The nthe Archive::TarGzip provide means to access individual files within the archive file without bringing the entire archive file into memory. When the gzip compression option is active, the compression is performed on the fly without creating an intermediate uncompressed tar file.
Download (0.094MB)
Added: 2007-02-13 License: Perl Artistic License Price:
985 downloads
ArchivistaBox 070306
ArchivistaBox provides a preconfigured DMS, archiving server, and PDF machine. more>>
ArchivistaBox provides a preconfigured DMS, archiving server, and PDF machine.
All required features are pre-installed and the implementation is kept to an absolute minimum. It features easy installation, a Web interface for both end users and administration, scanner integration, FTP scanning, PDF printing, backups, and OCR and PDF integration that allows the creation of searchable PDFs.
The ArchivistaBox concept comprises a set of ready-to-use DMS systems which can be put into operation without further ado: all the required features are pre-installed and implementation is kept to an absolute minimum.
Main features:
- Easy installation
- Webbased maintenance
- Modular design
- Scanner integration
- Backup concept
- Compatible with any Archivista solution
- Platform independence
What is more, the ArchivistaBox systems are available in the framework of a dual licensing concept. Each ArchivistaBox comes with a support license that guarantees that the solution is fully functioning and that it is further developed. The software part is in addition available under OpenSource (GPL) license.
<<lessAll required features are pre-installed and the implementation is kept to an absolute minimum. It features easy installation, a Web interface for both end users and administration, scanner integration, FTP scanning, PDF printing, backups, and OCR and PDF integration that allows the creation of searchable PDFs.
The ArchivistaBox concept comprises a set of ready-to-use DMS systems which can be put into operation without further ado: all the required features are pre-installed and implementation is kept to an absolute minimum.
Main features:
- Easy installation
- Webbased maintenance
- Modular design
- Scanner integration
- Backup concept
- Compatible with any Archivista solution
- Platform independence
What is more, the ArchivistaBox systems are available in the framework of a dual licensing concept. Each ArchivistaBox comes with a support license that guarantees that the solution is fully functioning and that it is further developed. The software part is in addition available under OpenSource (GPL) license.
Download (615MB)
Added: 2007-03-06 License: GPL (GNU General Public License) Price:
963 downloads
Archive::Chm 0.06
Archive::Chm is a Perl module that performs some read-only operations on HTML help (.chm) files. more>>
Archive::Chm is a Perl module that performs some read-only operations on HTML help (.chm) files. Range of operations includes enumerating contents, extracting contents and getting information about one certain part of the archive.
The module supersedes Text::Chm written by Domenico Delle Side. The method get_filelist() and all its dependencies are taken nearly "as-is" from Text::Chm as written by Domenico.
SYNOPSIS
my $test = Archive::Chm->new("TestPrj.chm");
#make the module log its activity
$test->set_verbose(1);
$test->set_logfile("chmfile.log");
#set the auto-overwrite function to off
$test->set_overwrite(0);
#enumerate the contents of the archive
$test->enum_files("listing.txt", 1);
#extract all items in a certain directory
$test->extract_all("./out");
#extract a single item from the archive
$item = $test->("/Secret of Monkey Island Solution.html";
#or just get the length of the item
$test->get_item_length("/Secret of Monkey Island Solution.html");
#get complete information about the chm archive
@content = $test->get_filelist();
foreach (@content) {
print $_->{title} . "n" if defined $_->{title};
print $_->{path} . "n";
print $_->{size} . "n";
}
#p.s. There are ways to check for errors, just look up each method and see. :)
Archive::Chm is a module that provides access to Microsoft Compiled HTML Help files (chm files). A lot of todays software ships with documentation in .chm format. However Microsoft only provides viewing tools for their own OS and the company doesnt disclose the format specification.
Unofficial specs can be found at Matthew T. Russottos site: http://www.speakeasy.org/~russotto/chm/chmformat.html
The module is basically a wrapper of Jed Wings chmlib, a C library that provides access to all ITSS archives, though .chm is the only ITSS type file in use today. To use this module you need chmlib installed on your system. You can get it at: http://66.93.236.84/~jedwin/projects/chmlib/
Currently access to .chm files is read-only and this will change over time if Jed Wing upgrades his library. Supported operations are getting a listing of the contents, extracting one or all items in the archive and retrieving an items length.
<<lessThe module supersedes Text::Chm written by Domenico Delle Side. The method get_filelist() and all its dependencies are taken nearly "as-is" from Text::Chm as written by Domenico.
SYNOPSIS
my $test = Archive::Chm->new("TestPrj.chm");
#make the module log its activity
$test->set_verbose(1);
$test->set_logfile("chmfile.log");
#set the auto-overwrite function to off
$test->set_overwrite(0);
#enumerate the contents of the archive
$test->enum_files("listing.txt", 1);
#extract all items in a certain directory
$test->extract_all("./out");
#extract a single item from the archive
$item = $test->("/Secret of Monkey Island Solution.html";
#or just get the length of the item
$test->get_item_length("/Secret of Monkey Island Solution.html");
#get complete information about the chm archive
@content = $test->get_filelist();
foreach (@content) {
print $_->{title} . "n" if defined $_->{title};
print $_->{path} . "n";
print $_->{size} . "n";
}
#p.s. There are ways to check for errors, just look up each method and see. :)
Archive::Chm is a module that provides access to Microsoft Compiled HTML Help files (chm files). A lot of todays software ships with documentation in .chm format. However Microsoft only provides viewing tools for their own OS and the company doesnt disclose the format specification.
Unofficial specs can be found at Matthew T. Russottos site: http://www.speakeasy.org/~russotto/chm/chmformat.html
The module is basically a wrapper of Jed Wings chmlib, a C library that provides access to all ITSS archives, though .chm is the only ITSS type file in use today. To use this module you need chmlib installed on your system. You can get it at: http://66.93.236.84/~jedwin/projects/chmlib/
Currently access to .chm files is read-only and this will change over time if Jed Wing upgrades his library. Supported operations are getting a listing of the contents, extracting one or all items in the archive and retrieving an items length.
Download (0.41MB)
Added: 2006-10-30 License: Perl Artistic License Price:
1089 downloads
Archive::Ar 1.13b
Archive::Ar is a Perl interface for manipulating ar archives. more>>
Archive::Ar is a Perl interface for manipulating ar archives.
SYNOPSIS
use Archive::Ar;
my $ar = new Archive::Ar("./foo.ar");
$ar->add_data("newfile.txt","Some contents", $properties);
$ar->add_files("./bar.tar.gz", "bat.pl")
$ar->add_files(["./again.gz"]);
$ar->remove("file1", "file2");
$ar->remove(["file1", "file2");
my $filedata = $ar->get_content("bar.tar.gz");
my @files = $ar->list_files();
$ar->read("foo.deb");
$ar->write("outbound.ar");
$ar->DEBUG();
Archive::Ar is a pure-perl way to handle standard ar archives.
This is useful if you have those types of old archives on the system, but it is also useful because .deb packages for the Debian GNU/Linux distribution are ar archives. This is one building block in a future chain of modules to build, manipulate, extract, and test debian modules with no platform or architecture dependence.
You may notice that the API to Archive::Ar is similar to Archive::Tar, and this was done intentionally to keep similarity between the Archive::* modules
Class Methods
new()
new($filename)
new(*GLOB,$debug)
Returns a new Archive::Ar object. Without a filename or glob, it returns an empty object. If passed a filename as a scalar or in a GLOB, it will attempt to populate from either of those sources. If it fails, you will receive undef, instead of an object reference.
This also can take a second optional debugging parameter. This acts exactly as if DEBUG() is called on the object before it is returned. If you have a new() that keeps failing, this should help.
read($filename)
read(*GLOB);
This reads a new file into the object, removing any ar archive already represented in the object. Any calls to DEBUG() are not lost by reading in a new file. Returns the number of bytes read, undef on failure.
read_memory($data)
This read information from the first parameter, and attempts to parse and treat it like an ar archive. Like read(), it will wipe out whatever you have in the object and replace it with the contents of the new archive, even if it fails. Returns the number of bytes read (processed) if successful, undef otherwise.
list_files()
This lists the files contained inside of the archive by filename, as an array.
add_files("filename1", "filename2")
add_files(["filename1", "filename2"])
Takes an array or an arrayref of filenames to add to the ar archive, in order. The filenames can be paths to files, in which case the path information is stripped off. Filenames longer than 16 characters are truncated when written to disk in the format, so keep that in mind when adding files.
Due to the nature of the ar archive format, add_files() will store the uid, gid, mode, size, and creation date of the file as returned by stat();
add_files() returns the number of files successfully added, or undef on failure.
add_data("filename", $filedata)
Takes an filename and a set of data to represent it. Unlike add_files, add_data is a virtual add, and does not require data on disk to be present. The data is a hash that looks like:
$filedata = {
"data" => $data,
"uid" => $uid, #defaults to zero
"gid" => $gid, #defaults to zero
"date" => $date, #date in epoch seconds. Defaults to now.
"mode" => $mode, #defaults to "100644";
}
You cannot add_data over another file however. This returns the file length in bytes if it is successful, undef otherwise.
write()
write("filename.ar")
This method will return the data as an .ar archive, or will write to the filename present if specified. If given a filename, write() will return the length of the file written, in bytes, or undef on failure. If the filename already exists, it will overwrite that file.
get_content("filename")
This returns a hash with the file content in it, including the data that the file would naturally contain. If the file does not exist or no filename is given, this returns undef. On success, a hash is returned with the following keys:
name - The file name
date - The file date (in epoch seconds)
uid - The uid of the file
gid - The gid of the file
mode - The mode permissions
size - The size (in bytes) of the file
data - The contained data
remove("filename1", "filename2")
remove(["filename1", "filename2"])
The remove method takes a filenames as a list or as an arrayref, and removes them, one at a time, from the Archive::Ar object. This returns the number of files successfully removed from the archive.
DEBUG()
This method turns on debugging. Optionally this can be done by passing in a value as the second parameter to new. While verbosity is enabled, Archive::Ar will toss a warn() if there is a suspicious condition or other problem while proceeding. This should help iron out any problems you have while using the module.
<<lessSYNOPSIS
use Archive::Ar;
my $ar = new Archive::Ar("./foo.ar");
$ar->add_data("newfile.txt","Some contents", $properties);
$ar->add_files("./bar.tar.gz", "bat.pl")
$ar->add_files(["./again.gz"]);
$ar->remove("file1", "file2");
$ar->remove(["file1", "file2");
my $filedata = $ar->get_content("bar.tar.gz");
my @files = $ar->list_files();
$ar->read("foo.deb");
$ar->write("outbound.ar");
$ar->DEBUG();
Archive::Ar is a pure-perl way to handle standard ar archives.
This is useful if you have those types of old archives on the system, but it is also useful because .deb packages for the Debian GNU/Linux distribution are ar archives. This is one building block in a future chain of modules to build, manipulate, extract, and test debian modules with no platform or architecture dependence.
You may notice that the API to Archive::Ar is similar to Archive::Tar, and this was done intentionally to keep similarity between the Archive::* modules
Class Methods
new()
new($filename)
new(*GLOB,$debug)
Returns a new Archive::Ar object. Without a filename or glob, it returns an empty object. If passed a filename as a scalar or in a GLOB, it will attempt to populate from either of those sources. If it fails, you will receive undef, instead of an object reference.
This also can take a second optional debugging parameter. This acts exactly as if DEBUG() is called on the object before it is returned. If you have a new() that keeps failing, this should help.
read($filename)
read(*GLOB);
This reads a new file into the object, removing any ar archive already represented in the object. Any calls to DEBUG() are not lost by reading in a new file. Returns the number of bytes read, undef on failure.
read_memory($data)
This read information from the first parameter, and attempts to parse and treat it like an ar archive. Like read(), it will wipe out whatever you have in the object and replace it with the contents of the new archive, even if it fails. Returns the number of bytes read (processed) if successful, undef otherwise.
list_files()
This lists the files contained inside of the archive by filename, as an array.
add_files("filename1", "filename2")
add_files(["filename1", "filename2"])
Takes an array or an arrayref of filenames to add to the ar archive, in order. The filenames can be paths to files, in which case the path information is stripped off. Filenames longer than 16 characters are truncated when written to disk in the format, so keep that in mind when adding files.
Due to the nature of the ar archive format, add_files() will store the uid, gid, mode, size, and creation date of the file as returned by stat();
add_files() returns the number of files successfully added, or undef on failure.
add_data("filename", $filedata)
Takes an filename and a set of data to represent it. Unlike add_files, add_data is a virtual add, and does not require data on disk to be present. The data is a hash that looks like:
$filedata = {
"data" => $data,
"uid" => $uid, #defaults to zero
"gid" => $gid, #defaults to zero
"date" => $date, #date in epoch seconds. Defaults to now.
"mode" => $mode, #defaults to "100644";
}
You cannot add_data over another file however. This returns the file length in bytes if it is successful, undef otherwise.
write()
write("filename.ar")
This method will return the data as an .ar archive, or will write to the filename present if specified. If given a filename, write() will return the length of the file written, in bytes, or undef on failure. If the filename already exists, it will overwrite that file.
get_content("filename")
This returns a hash with the file content in it, including the data that the file would naturally contain. If the file does not exist or no filename is given, this returns undef. On success, a hash is returned with the following keys:
name - The file name
date - The file date (in epoch seconds)
uid - The uid of the file
gid - The gid of the file
mode - The mode permissions
size - The size (in bytes) of the file
data - The contained data
remove("filename1", "filename2")
remove(["filename1", "filename2"])
The remove method takes a filenames as a list or as an arrayref, and removes them, one at a time, from the Archive::Ar object. This returns the number of files successfully removed from the archive.
DEBUG()
This method turns on debugging. Optionally this can be done by passing in a value as the second parameter to new. While verbosity is enabled, Archive::Ar will toss a warn() if there is a suspicious condition or other problem while proceeding. This should help iron out any problems you have while using the module.
Download (0.006MB)
Added: 2006-10-11 License: Perl Artistic License Price:
1120 downloads
XArchive 0.2.8-6
XArchive is a generic front-end that uses external wrappers around command line archiving tools. more>>
XArchive is a generic front end for archives that uses external wrappers around the command line tools. XArchive checks its wrapper directory when it starts, consulting each wrapper found to see what file types are supported.
Thus, a new archive format can easily be supported by just writing a wrapper for it and dropping it in the wrappers directory.
Currently there are bash shell wrappers for: rar, tar, zip, and ace
(ace supported using unace, so only reading and extracting available).
These can easily be copied and modified to have xarchive support other command line tools and file types without having to touch xarchive at all.
Enhancements:
- This version supports adding files to an archive using Drag n Drog, and has a few GUI clean ups.
<<lessThus, a new archive format can easily be supported by just writing a wrapper for it and dropping it in the wrappers directory.
Currently there are bash shell wrappers for: rar, tar, zip, and ace
(ace supported using unace, so only reading and extracting available).
These can easily be copied and modified to have xarchive support other command line tools and file types without having to touch xarchive at all.
Enhancements:
- This version supports adding files to an archive using Drag n Drog, and has a few GUI clean ups.
Download (0.052MB)
Added: 2006-02-27 License: GPL (GNU General Public License) Price:
1339 downloads
News::Archive 0.14
News::Archive is a Usenet news archiving package for downloading and later accessing news articles in bulk. more>>
News::Archive is a Usenet news archiving package for downloading and later accessing news articles in bulk.
It can load articles laid out in INN format, retrieve them from a running news server, or just take articles one-by-one. News::Archive module is compatible with News::Web and Net::NNTP::Server, so the articles can be shared either via the Web or via NNTP.
SYNOPSIS
use News::Archive;
my $archive = new News::Archive
( basedir => /home/tskirvin/kiboze );
# Get a news article
my $article = News::Article->new(*STDIN);
my $msgid = article->header(message-id);
die "Already processed $msgidn"
if ($archive->article( $messageid ));
# Get the list of groups were supposed to be saving the article into
my @groups = split(s*,s*, $article->header(newsgroups) );
map { s/s+//g } @groups;
# Make sure were subscribed to these groups
foreach (@groups) { $archive->subscribe($_) }
# Actually save the article.
my $ret = $archive->save_article(
[ @{$article->rawheaders}, , @{$article->body} ], @groups );
$ret ? print "Accepted article $messageidn"
: print "Couldnt save article $messageidn";
News::Archive keeps several files to keep track of its archives:
active file
Keeps track of all newsgroups we are "subscribed" to and all of the information that changes regularly - the number of articles we have archived, the current first and last article numbers, etc.
Watched over with News::Active.
history database
A simple database keeping track of articles by Message-ID. Makes access by ID easy, and ensures that we dont save the same article twice. The database chosen to maintain these is user-determined.
newsgroup file
Keeps track of more static information about the newsgroups we are subscribed to - descriptions, creation dates, etc.
Watched over with News::GroupInfo.
archive directory
Directory structure of all articles, with each article saved as a single textfile within a directory structure laid out at one section of the group name per directory, such as "rec/games/mecha". Crossposts are hardlinked to other directory structures.
Articles are actually divided into sub-directories containing up to 500 articles, to avoid Unix directory size performance limitations. Individual files are thus stored in a file such as "rec/games/mecha/1.500/1".
Each newsgroup also contains overview information, watched over with
News::Overview. This overview file goes in the top of the structure,
such as "rec/games/mecha/.overview".
You may note that these files are very similar to how INN does its work. This is intentional - this package is meant to act in many ways like a lighter-weight INN.
Usage:
Global Variables
The following variables are set within News::Archive, and are global throughout all invocations.
$News::Active::DEBUG
Default value for "debug()" in new objects.
$News::Active::HOSTNAME
Default value for "hostname()" in new objects. Obtained using
"Sys::Hostname::hostname()".
$News::Active::HASH
The number of articles to keep in each directory. Default is 500;
change this at your own peril, since things may get screwed up later
if you change it after archiving any articles!
<<lessIt can load articles laid out in INN format, retrieve them from a running news server, or just take articles one-by-one. News::Archive module is compatible with News::Web and Net::NNTP::Server, so the articles can be shared either via the Web or via NNTP.
SYNOPSIS
use News::Archive;
my $archive = new News::Archive
( basedir => /home/tskirvin/kiboze );
# Get a news article
my $article = News::Article->new(*STDIN);
my $msgid = article->header(message-id);
die "Already processed $msgidn"
if ($archive->article( $messageid ));
# Get the list of groups were supposed to be saving the article into
my @groups = split(s*,s*, $article->header(newsgroups) );
map { s/s+//g } @groups;
# Make sure were subscribed to these groups
foreach (@groups) { $archive->subscribe($_) }
# Actually save the article.
my $ret = $archive->save_article(
[ @{$article->rawheaders}, , @{$article->body} ], @groups );
$ret ? print "Accepted article $messageidn"
: print "Couldnt save article $messageidn";
News::Archive keeps several files to keep track of its archives:
active file
Keeps track of all newsgroups we are "subscribed" to and all of the information that changes regularly - the number of articles we have archived, the current first and last article numbers, etc.
Watched over with News::Active.
history database
A simple database keeping track of articles by Message-ID. Makes access by ID easy, and ensures that we dont save the same article twice. The database chosen to maintain these is user-determined.
newsgroup file
Keeps track of more static information about the newsgroups we are subscribed to - descriptions, creation dates, etc.
Watched over with News::GroupInfo.
archive directory
Directory structure of all articles, with each article saved as a single textfile within a directory structure laid out at one section of the group name per directory, such as "rec/games/mecha". Crossposts are hardlinked to other directory structures.
Articles are actually divided into sub-directories containing up to 500 articles, to avoid Unix directory size performance limitations. Individual files are thus stored in a file such as "rec/games/mecha/1.500/1".
Each newsgroup also contains overview information, watched over with
News::Overview. This overview file goes in the top of the structure,
such as "rec/games/mecha/.overview".
You may note that these files are very similar to how INN does its work. This is intentional - this package is meant to act in many ways like a lighter-weight INN.
Usage:
Global Variables
The following variables are set within News::Archive, and are global throughout all invocations.
$News::Active::DEBUG
Default value for "debug()" in new objects.
$News::Active::HOSTNAME
Default value for "hostname()" in new objects. Obtained using
"Sys::Hostname::hostname()".
$News::Active::HASH
The number of articles to keep in each directory. Default is 500;
change this at your own peril, since things may get screwed up later
if you change it after archiving any articles!
Download (0.033MB)
Added: 2006-03-24 License: Perl Artistic License Price:
1309 downloads
xDash::Archive::Pg 1.02
xDash::Archive::Pg is a base class for Archive. more>>
xDash::Archive::Pg is a base class for Archive.
SYNOPSIS
package Archive;
use base xDash::Archive::Pg;
# Set up your own database access parameters
sub SetParameters { shift->SUPER::SetDatabaseConnection(
name => xdash, user => , password => ) }
USAGE
The module is developed in the object orientated way. It can be used as the base class for archiving based on PostgreSQL as persistence. The base class has to implement a fixed set of methods, called by the derived class Archive. Archive is hardcoded in the xDash::Archivist (driver pattern).
For more details, how to set up all the needed components, see the introduction to the deployment: Planning and deploying xDash in a sandbox at http://xdash.jabberstudio.org/deployment/perl. By deriving from the class, as the way of passing arguments, you have to implement explicit methods listed below . The synopsis above is an example of the client script generated by the xdscr.
METHODS
SetDatabaseConnection( name => $database_name, user => $database_user, password => database_password )
Passes the self explanatory parameters to the DBI module, required by xDash::Archivist.
<<lessSYNOPSIS
package Archive;
use base xDash::Archive::Pg;
# Set up your own database access parameters
sub SetParameters { shift->SUPER::SetDatabaseConnection(
name => xdash, user => , password => ) }
USAGE
The module is developed in the object orientated way. It can be used as the base class for archiving based on PostgreSQL as persistence. The base class has to implement a fixed set of methods, called by the derived class Archive. Archive is hardcoded in the xDash::Archivist (driver pattern).
For more details, how to set up all the needed components, see the introduction to the deployment: Planning and deploying xDash in a sandbox at http://xdash.jabberstudio.org/deployment/perl. By deriving from the class, as the way of passing arguments, you have to implement explicit methods listed below . The synopsis above is an example of the client script generated by the xdscr.
METHODS
SetDatabaseConnection( name => $database_name, user => $database_user, password => database_password )
Passes the self explanatory parameters to the DBI module, required by xDash::Archivist.
Download (0.061MB)
Added: 2006-06-28 License: Perl Artistic License Price:
1213 downloads
Archive Search 0.9.2
Archive Search is an extension which displays an archived versions of the webpage. more>>
Archive Search is an extension which displays an archived versions of the webpage.
Displays an archived versions of the webpage.
First click: Internet Archive
Second click: Google cache
Third click: Yahoo
Fourth click: MSN
<<lessDisplays an archived versions of the webpage.
First click: Internet Archive
Second click: Google cache
Third click: Yahoo
Fourth click: MSN
Download (0.005MB)
Added: 2007-04-12 License: MPL (Mozilla Public License) Price:
931 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above archiving search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed