Need to change the './backup/Centerity_Monitor_Linux_Agent' into a full file list of all the files found on this directory. Will work on this Thanks Chanan
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Offer Kaye Sent: Thursday, May 07, 2009 5:06 PM To: Perl in Israel Subject: Re: [Israel.pm] Looking for example script On Thu, May 7, 2009 at 4:07 PM, Berler Chanan wrote: > > But this one doesn't, can anyone tell me why ? I don't know but Archive::TarGzip hasn't been updated since 2004 so it is possible you have run into a bug with it... Here's an example with Archive::Tar (not tested): sub tar_gz { use Archive::Tar; Archive::Tar->create_archive( './Centerity_Example.tar.gz', COMPRESS_GZIP, './backup/Centerity_Monitor_Linux_Agent' ); } Cheers, -- Offer Kaye _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.21/2101 - Release Date: 05/06/09 17:58:00 _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
