Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

Re: tar help

by idsfa (Vicar)
on Mar 20, 2006 at 15:01 UTC ( [id://538032]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to tar help

The ptar perl script which comes with Archive::Tar shows you how to do this using File::Find. Relevant fragment:

if( $opts->{c} ) { my @files; find( sub { push @files, $File::Find::name; print $File::Find::name.$/ if $verbose }, @ARGV ); Archive::Tar->create_archive( $file, $compress, @files ); exit; }

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Replies are listed 'Best First'.
Re^2: tar help
by snyder (Initiate) on Mar 21, 2006 at 16:00 UTC
    This looks like the path that will get me where I am trying to go. Thank you for your attention on this matter. For the record, I have a shell script to make the tarball and I have a script in ColdFusion to create the tarball and FTP it. I am attempting to learn some perl and that is why I am trying to write a script for something I have accomplished in another language. Expanding my knowledge with a point of reference.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://538032]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.