Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: path in tar file...please help

by snopal (Pilgrim)
on Oct 10, 2007 at 21:05 UTC ( #644094=note: print w/replies, xml ) Need Help??


in reply to path in tar file...please help

I don't quite understand what you are trying to accomplish, but if it is that you only want the files, with no directory tree in front of them then you need to chdir to the $UploadDir first.

chdir $UploadDir; $cmd = "tar -cvvf results.tar en_ran.out en-ave.out en_ave_ran.out en_ +ave_ran.out gc-ave.out score_ran.out score-ave_ran.out score-ave.out" +; system ($cmd);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2020-10-30 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (280 votes). Check out past polls.

    Notices?