Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: (OT) Linux/Perl Tar System Command

by sgifford (Prior)
on Aug 04, 2003 at 20:45 UTC ( [id://280797]=note: print w/replies, xml ) Need Help??


in reply to (OT) Linux/Perl Tar System Command

You simply want to chdir to the directory first:
chdir("/project/server_name/web/catalog/orders") or die "Couldn't CD to orders directory: $!\n"; system("tar -cf tarred_orders.$year$month$mday.tar temp") == 0 or die "Error running tar: exit status $?\n";

Log In?
Username:
Password:

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

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

    No recent polls found