Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Get My Own Name

by peschkaj (Pilgrim)
on Feb 05, 2004 at 03:02 UTC ( [id://326661]=note: print w/replies, xml ) Need Help??


in reply to Re: Get My Own Name
in thread Get My Own Name

Because tar on HP-UX is broken, we have been forced to implement our own work around. Normally, on Solaris at least, you can supply tar with an exclude file. Thus allowing you to avoid tarring up mp3s or your collections of GTK+ themes and backgrounds or what have you.

I wanted to include this functionality in the script because you never can tell when some one is going to pass the script along to a friend but not tell them how to use it properly. Nor did I want to have to hardcode the name of the script since file names can change.

Replies are listed 'Best First'.
Re^3: Get My Own Name
by Roy Johnson (Monsignor) on Feb 05, 2004 at 19:41 UTC
    I trust you're going to use Archive::Tar?

    If you are going to substitute for a program where you would have used and exclude-file, why don't you just implement exclude-file functionality into your program? No need to know your program's name (just like tar wouldn't need to know its name).


    The PerlMonk tr/// Advocate
Re: Re: Re: Get My Own Name
by astroboy (Chaplain) on Feb 05, 2004 at 17:05 UTC
    HP-UX tar is broken? How about GNU tar? It has exclude options
Re: Get My Own Name
by Abigail-II (Bishop) on Feb 05, 2004 at 17:30 UTC
    That's why God gave us cpio.

    Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-23 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found