archive
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 764
Yahoo Messenger 1.0.4
Yahoo! Messenger for UNIX is an instant messenger. more>>
Yahoo! Messenger for Unix sends instant messages to your Windows and Unix friends!
Enhancements:
- Improved Emoticons - Improved Message Archive - Improved sound on RedHat kernels - Yahoo! Address Book integration - File transfer with Windows clients -
<<lessEnhancements:
- Improved Emoticons - Improved Message Archive - Improved sound on RedHat kernels - Yahoo! Address Book integration - File transfer with Windows clients -
Download (0.91MB)
Added: 2005-06-15 License: LGPL (GNU Lesser General Public License) Price:
1171 downloads
Strobe Light 1.0
Simple utility that turns your monitor into a configurable strobe light. more>>
Simple utility that turns your monitor into a configurable strobe light.
Source code is included alongside the executable "strobelight" in the archive.
<<lessSource code is included alongside the executable "strobelight" in the archive.
Download (0.006MB)
Added: 2005-09-16 License: GPL (GNU General Public License) Price:
878 downloads
K7Z 0.6
K7Z helps you to create or extract a password-protected archive. more>>
Use K7Z if you want to:
- Backup a folder to a storage location
- Create or extract a password-protected archive
- Update an existing archive quickly
Ark (2.6.3) is handy but it doesnt seem to:
- Create archives with passwords
- Extract (some) archives with passwords
- Update existing archives by default
K7Z is a simple script that attempts to fill these voids. It probably wont become a total archiving solution.
For installation instructions, see INSTALL.txt. If you encounter any problems, see ISSUES.txt and send me an email if necessary.
Enhancements:
- Beneath option: to extract below the destination
- GNU Tar: is now used to preserve file permissions (Linux)
- Explorer: improved Shell Menu layout (Windows)
- Invisible mode: i option to hide the GUI
- Verbose mode: v option for debugging purposes
- Extraction: now works properly in Slackware (Linux)
- CheckInstall: separate scripts for RedHat, Debian, Slackware (Linux)
- Makefile: possible errors prevented (Linux)
- Exception handling: possible crashes prevented
- Write access: to source dir for performance increase (Linux)
- Code structure: now modular to increase efficiency
<<less- Backup a folder to a storage location
- Create or extract a password-protected archive
- Update an existing archive quickly
Ark (2.6.3) is handy but it doesnt seem to:
- Create archives with passwords
- Extract (some) archives with passwords
- Update existing archives by default
K7Z is a simple script that attempts to fill these voids. It probably wont become a total archiving solution.
For installation instructions, see INSTALL.txt. If you encounter any problems, see ISSUES.txt and send me an email if necessary.
Enhancements:
- Beneath option: to extract below the destination
- GNU Tar: is now used to preserve file permissions (Linux)
- Explorer: improved Shell Menu layout (Windows)
- Invisible mode: i option to hide the GUI
- Verbose mode: v option for debugging purposes
- Extraction: now works properly in Slackware (Linux)
- CheckInstall: separate scripts for RedHat, Debian, Slackware (Linux)
- Makefile: possible errors prevented (Linux)
- Exception handling: possible crashes prevented
- Write access: to source dir for performance increase (Linux)
- Code structure: now modular to increase efficiency
Download (0.21MB)
Added: 2007-04-07 License: GPL (GNU General Public License) Price:
1246 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
Archive::SelfExtract 1.3
Archive::SelfExtract is a Perl module to bundle compressed archives with Perl code. more>>
Archive::SelfExtract is a Perl module to bundle compressed archives with Perl code.
SYNOPSIS
use Archive::SelfExtract;
# writes output script to STDOUT
Archive::SelfExtract::createExtractor( "perlcode.pl", "somefiles.zip" );
# with various options:
Archive::SelfExtract::createExtractor( "perlcode.pl", "somefiles.zip",
perlbin => "/opt/perl58/bin/perl",
output_fh => $someFileHandle,
);
See also the command line tool, mkselfextract.
Archive::SelfExtract allows you create Perl programs out of compressed zip archives. Given a piece of code and an archive, it creates a single file which, when run, unpacks the archive and then runs the code.
This module provides a function for creating a self-extractor script, a function to unpack the archive, and utility functions for wrapped programs
<<lessSYNOPSIS
use Archive::SelfExtract;
# writes output script to STDOUT
Archive::SelfExtract::createExtractor( "perlcode.pl", "somefiles.zip" );
# with various options:
Archive::SelfExtract::createExtractor( "perlcode.pl", "somefiles.zip",
perlbin => "/opt/perl58/bin/perl",
output_fh => $someFileHandle,
);
See also the command line tool, mkselfextract.
Archive::SelfExtract allows you create Perl programs out of compressed zip archives. Given a piece of code and an archive, it creates a single file which, when run, unpacks the archive and then runs the code.
This module provides a function for creating a self-extractor script, a function to unpack the archive, and utility functions for wrapped programs
Download (0.006MB)
Added: 2007-06-21 License: Perl Artistic License Price:
859 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::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
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
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
WormBase::Archive::Build 0.028
WormBase::Archive::Build can create archives of Wormbase releases. more>>
WormBase::Archive::Build can create archives of Wormbase releases.
SYNOPSIS
use Bio::GMOD::Admin::Archive;
my $archive = Bio::GMOD::Admin::Archive->new();
$archive->create_archive();
METHODS
Bio::GMOD::Admin::Archive->new(@options)
Create a new WormBase::Archive object for archiving WormBase releases.
The options consist largely of file system and remote paths. If none are provided, they will all be populated from the default file located on the primary WormBase server.
This is the recommended idiom as it insulates your programs from structural changes at WormBase. In this case, archives will be built in /pub/wormbase/RELEASE where RELEASE is a WSXXX release.
There are, however, at least two options that you will wish to provide:
--database_repository Full path where to store archives on your filesystem
--mysql_path Full path to the mysql data dir
See WormBase.pm for additional details on all system-dependent paths that can be overridden.
<<lessSYNOPSIS
use Bio::GMOD::Admin::Archive;
my $archive = Bio::GMOD::Admin::Archive->new();
$archive->create_archive();
METHODS
Bio::GMOD::Admin::Archive->new(@options)
Create a new WormBase::Archive object for archiving WormBase releases.
The options consist largely of file system and remote paths. If none are provided, they will all be populated from the default file located on the primary WormBase server.
This is the recommended idiom as it insulates your programs from structural changes at WormBase. In this case, archives will be built in /pub/wormbase/RELEASE where RELEASE is a WSXXX release.
There are, however, at least two options that you will wish to provide:
--database_repository Full path where to store archives on your filesystem
--mysql_path Full path to the mysql data dir
See WormBase.pm for additional details on all system-dependent paths that can be overridden.
Download (0.070MB)
Added: 2006-06-28 License: GPL (GNU General Public License) Price:
1214 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::Any::Create 0.02
Archive::Any::Create is an abstract API to create archives (tar.gz and zip). more>>
Archive::Any::Create is an abstract API to create archives (tar.gz and zip).
SYNOPSIS
use Archive::Any::Create;
my $archive = Archive::Any::Create->new;
$archive->container(foo); # top-level directory
$archive->add_file(bar.txt, $data); # foo/bar.txt
$archive->add_file(bar/baz.txt, $data); # foo/bar/baz.txt
$archive->write_file(foo.tar.gz);
$archive->write_file(foo.zip);
$archive->write_filehandle(*STDOUT, tar.gz);
Archive::Any::Create is a wrapper module to create tar/tar.gz/zip files with a single easy-to-use API.
<<lessSYNOPSIS
use Archive::Any::Create;
my $archive = Archive::Any::Create->new;
$archive->container(foo); # top-level directory
$archive->add_file(bar.txt, $data); # foo/bar.txt
$archive->add_file(bar/baz.txt, $data); # foo/bar/baz.txt
$archive->write_file(foo.tar.gz);
$archive->write_file(foo.zip);
$archive->write_filehandle(*STDOUT, tar.gz);
Archive::Any::Create is a wrapper module to create tar/tar.gz/zip files with a single easy-to-use API.
Download (0.003MB)
Added: 2006-06-28 License: Perl Artistic License Price:
1214 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 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
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 archive 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