Dist::Metadata::Archive(3pm) User Contributed Perl Documentation Dist::Metadata::Archive(3pm)NAME
Dist::Metadata::Archive - Base class for Dist::Metadata archive files
VERSION
version 0.923
SYNOPSIS
my $dist = Dist::Metadata->new(file => $path_to_archive);
DESCRIPTION
This is a subclass of Dist::Metadata::Dist to enable determining the metadata from an archive file.
It is a base class for archive file formats:
o Dist::Metadata::Tar
o Dist::Metadata::Zip
It's not useful on it's own and should be used from "new" in Dist::Metadata.
METHODS
new
$dist = Dist::Metadata::Archive->new(file => $path);
Accepts a single "file" argument that should be a path to a file.
If called from this base class "new()" will delegate to a subclass based on the filename and return a blessed instance of that subclass.
archive
Returns an object representing the archive file.
default_file_spec
Returns "Unix" since most archive files are be in unix format.
determine_name_and_version
Attempts to parse name and version from file name.
file
The "file" attribute passed to the constructor, used to load "archive".
read_archive
$dist->read_archive($file);
Returns a format-specific object representing the specified file.
This must be defined by subclasses.
AUTHOR
Randy Stauner <rwstauner@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Randy Stauner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-19 Dist::Metadata::Archive(3pm)
Check Out this Related Man Page
Dist::Zilla::PluginBundle::Basic(3pm) User Contributed Perl Documentation Dist::Zilla::PluginBundle::Basic(3pm)NAME
Dist::Zilla::PluginBundle::Basic - the basic plugins to maintain and release CPAN dists
VERSION
version 4.300020
DESCRIPTION
This plugin is meant to be a basic "first step" bundle for using Dist::Zilla. It won't munge any of your code, but will generate a
Makefile.PL and allows easy, reliable releasing of distributions.
It includes the following plugins with their default configuration:
o Dist::Zilla::Plugin::GatherDir
o Dist::Zilla::Plugin::PruneCruft
o Dist::Zilla::Plugin::ManifestSkip
o Dist::Zilla::Plugin::MetaYAML
o Dist::Zilla::Plugin::License
o Dist::Zilla::Plugin::Readme
o Dist::Zilla::Plugin::ExtraTests
o Dist::Zilla::Plugin::ExecDir
o Dist::Zilla::Plugin::ShareDir
o Dist::Zilla::Plugin::MakeMaker
o Dist::Zilla::Plugin::Manifest
o Dist::Zilla::Plugin::TestRelease
o Dist::Zilla::Plugin::ConfirmRelease
o Dist::Zilla::Plugin::UploadToCPAN
SEE ALSO
Core Dist::Zilla plugins: @Filter.
Dist::Zilla roles: PluginBundle, PluginBundle::Easy.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-21 Dist::Zilla::PluginBundle::Basic(3pm)
I am currently taking a Unix programming class in school, I want ot know which is more efficient and quicker, downloading the os or buying the os (4 Replies)
Hi All,
I wrote this script:
#!/bin/ksh
while read DAYS ARCH_PATH
do
cd $ARCH_PATH
find . \( -type d ! -name . -prune \) -o -type f -mtime +$DAYS -exec tar -cv
f kay_`date +%d%m%y%H%M`.tar {} \;
cd -
done < filestoarchive.txt
The problem is, in a folder of 7files, I would... (13 Replies)
I am going to build a flash archive on a v490 and put it on 3 890's I have coming in.
Someone had mentioned to me that they thought I might have a problem booting, something about the wrong boot block.
Has anyone heard this before , or do you think I would have any other issues.
I know of... (3 Replies)
my file looks like this:
D8511049777 I 04/10/08 99817 1,923.33 927156 Kaufman
D8511049777I04100829981859003924884Martin
i'd like to look like this:
D8511049777I0410080000299817000000192333927156Kaufman
D8511049777I0410080000299818000000059003924884Martin
my spec sheet:
D: starting... (4 Replies)
Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter
For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt
this should place the file in the following directory
... (8 Replies)
Need a little help figuring out how to restore a .flar image using the Flash Archive Retrival Method.
I am using Solaris 8 on a Sun V240. I boot the system using the Solaris 8 disk 1of2 and provide the necessary information asked. When the screen gets to the Flash Archive Retrival Method screen... (2 Replies)
Need a little help figuring out how to restore a .flar image using the Flash Archive Retrival Method.
I am using Solaris 8 on a Sun V240. I boot the system using the Solaris 8 disk 1of2 and provide the necessary information asked. When the screen gets to the Flash Archive Retrival Method screen... (2 Replies)
Hi ,
I want to write a FTP Script which checks the No of Vesions of the files in Archive Dir and if count >= 8 Delete the oldest file from the Archive Dir and if the count is <= 8 Move the file to the Archive Dir with a CurrentDate concatenation and FTP the file to the FTP directory and send... (1 Reply)
I have a set of files in path /ifx01/etldata/lmt/
a.xml
b.xml
I have to archive & move these files to path /ifx01/etldata/archive ,so that not even the original files should exists.
After acrhiving there should be no files in path /ifx01/etldata/lmt/ (6 Replies)
I got a task to do today, I want to write a script for the following
1) Archive log more than 2 days old
2) Number of days the current Archive logs present
3) Total number of archive logs
4) Size of each archive log
5) When was last successful backup happened?
Can I get a general script... (8 Replies)
I have written a perl scripts which loads the data.
Now i want to modify the script, to Archive the Input file after the successful load of data.
Can anyone please share it and help me ....
Thanks. (2 Replies)
Hello Guys
Please treat this as urgent .
Can you please kindly help me to know how to archive files in a directory which has more than one row
Thanks for your time and help!! (3 Replies)
Hi All,
I have a requirement to archive processed file and retain the archive based on the quantity.. but this is in windows.
I have written a drafted shell script, and would like to have it translated into Batch script.. Please...
Below is the drafted shell script
... (2 Replies)
Hi All,
I have the below senario.
File_Name="^Test>*"
Move_Delay=12
Source_Folder="/odi/nas/"
Target_Folder="/odi/nas//archive"
Now I want to move any file that is older than "Move_Delay" hours and matching "File_Name" pattern from the folder "Source_Folder" to the folder... (2 Replies)