Re: how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Agnello George
; >> >> @somefiles  = qw(xsl/photos_videos.xsl >> xsl/research.xsl >> xsl/reviews.xsl >> xsl/sendemail.xsl >> xsl/slideshow.xsl >> xsl/slideshow_details.xsl ); >> >> >> $tar->add_files(@allfiles_excluded); >>  $tar->write( $fulta

Re: how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Jim Gibson
ow.xsl xsl/slideshow_details.xsl ); $tar->add_files(@allfiles_excluded); $tar->write( $fultar, 9 ); Have you read the Archive::Tar documentation? Either 'perldoc Archive::Tar' on a command-line or here: <http://search.cpan.org/~bingos/Archive-Tar-1.76/lib/Archiv

how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Agnello George
uded); $tar->write( $fultar, 9 ); i also need to test the tar file in , i cant find a option in Archive::Tar , some thing similar to tar -tvf sometar.tgz Can some one help me with this . thanks -- Regards Agnello D'souza -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For a

Re: Problem installing Archive::Tar

2004-08-19 Thread Randy W. Sims
Ronald Nutter wrote: I am trying to install this module for use with a spamassassin server. Using Perl 5.8.3 on Fedora Core 2. Getting the following error when I either try to install the module through CPAN or downloading the tar and doing it the old fashioned way. Would appreciate any suggestio

Problem installing Archive::Tar

2004-08-19 Thread Ronald Nutter
problem. I am new to linux but am trying to learn. Thanks, Ron cpan> install Archive::Tar CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 18 Aug 2004 14:05:04 GMT Running install for module Archive::Tar Running make for K/KA/KANE/Archive-Tar-1

Problem with Archive::Tar module

2004-08-19 Thread Ronald Nutter
problem. I am new to linux but am trying to learn. Thanks, Ron cpan> install Archive::Tar CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 18 Aug 2004 14:05:04 GMT Running install for module Archive::Tar Running make for K/KA/KANE/Archive-Tar-1

Re: Archive::TAR with better performance ?

2004-03-10 Thread Wiggins d Anconia
> > Hi all, > > Is there a way to tar files without using the Archive::TAR module which is > known to be very slow and ressource guzzler (comment in the faq). > > I am looking for a Perl module directly linked to the C library of tar to > have almost the same perf

Archive::TAR with better performance ?

2004-03-10 Thread EUROSPACE SZARINDAR
Hi all, Is there a way to tar files without using the Archive::TAR module which is known to be very slow and ressource guzzler (comment in the faq). I am looking for a Perl module directly linked to the C library of tar to have almost the same performance and the power of perl ? Thanks in

Re: Recursive Archive::Tar?

2004-02-27 Thread R. Joseph Newton
Jas wrote: > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > my $bu = A

Re: Recursive Archive::Tar?

2004-02-27 Thread david
Jas wrote: > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > m

Recursive Archive::Tar?

2004-02-26 Thread Jas
Not sure if this is the way it is supposed to work, but I am not sure how I can get a directory, like a web directory backed up in one step using Archive::Tar. Code... #!/usr/bin/perl use strict; use Archive::Tar; my $bu = Archive::Tar->create_archive("www.tar",0,glob(

Re: Recursive Archive::Tar?

2004-02-26 Thread Rob Dixon
Jas wrote: > > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > my $bu

Re: Archiving folder containing folders (was - RE: Using archive::tar for archiving a folder)

2004-02-11 Thread Randy W. Sims
On 02/11/04 06:39, Thind, Aman wrote: Thanks for the response David. When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it tars all the .pl files in the current working directory. However, I need to tar a folder which has many folders

Archiving folder containing folders (was - RE: Using archive::tar for archiving a folder)

2004-02-11 Thread Thind, Aman
Thanks for the response David. When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it tars all the .pl files in the current working directory. However, I need to tar a folder which has many folders inside it. I tried 'Archive::Tar-

Re: Using archive::tar for archiving a folder

2004-02-10 Thread david
Aman Thind wrote: > Hello Friends, > > I wish to archive a folder into a .tar > > I've been searching through the documentation of archive::tar module but > could not find a way by which I could make the .tar just by specifying the > folder name (like on unix prom

Using archive::tar for archiving a folder

2004-02-10 Thread Thind, Aman
Hello Friends, I wish to archive a folder into a .tar I've been searching through the documentation of archive::tar module but could not find a way by which I could make the .tar just by specifying the folder name (like on unix prompt "tar -cvf myarchive.tar myfoldername") and

Archive::Tar a directory?

2003-11-05 Thread chad kellerman
Hello, I am writing a program that backups up databases. I am having trouble tarring up the directories. Tarring files using Archive::Tar is pretty straight forward, but tarring directories, I am having issues: here is part of the code.. $datadir = "/var/lib/mysql/"; $db

Re: Archive::Tar problems....

2002-12-14 Thread Dr. Poo
s Tip-Top... Sorry for the false alarm. (hopefully this isn't a double false alarm.. but i'll be sure to let everyone know!! hehe) Thanks for listening! -Chris On Saturday 14 December 2002 08:01 pm, Dr. Poo wrote: > My name is Chris, HI! > > I'm work

Archive::Tar problems....

2002-12-14 Thread Dr. Poo
My name is Chris, HI! I'm working on a backup application... and i'm using your Archive::Tar perl module (version .22). My question to you is, how can i "flush" the in memory archive after it has reached a certain condition...say like a certain size.

Archive::Tar

2002-03-07 Thread Tyler Longren
Hello, Can I archive directories using the Archive::Tar module? http://www.perldoc.com/perl5.6.1/lib/Archive/Tar.html Thank you, Tyler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]