Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: excuting the tar command

by alfie (Pilgrim)
on Apr 25, 2001 at 18:11 UTC ( #75459=note: print w/replies, xml ) Need Help??


in reply to excuting the tar command

Do you call the command in the script using back-ticks or system? Furthermore, have you tried to escape the \? It might be that you need to do that because the \ might just escape the space, perl converts it into a plain space and hands that over to the shell. So make sure that the \ is handed to the shell, by either using single quotes in the system call or escaping the \ (so using Program\\ Files). Maybe you might want to use the Archive::Tar module instead to do it directly from perl.
--
use signature; signature(" So long\nAlfie");

Replies are listed 'Best First'.
Re: Re: excuting the tar command
by Anonymous Monk on Apr 25, 2001 at 18:22 UTC
    Thanks for the help. I will try your suggestion and check into the Archive::Tar module. David
Re: Re: excuting the tar command
by Anonymous Monk on Apr 25, 2001 at 18:32 UTC
    I was kinda quick on the reply and did not answer your questions. I use the back-ticks and I did not escape the \. I will try your suggestions and let you know the results. Thanks again, David

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-05-16 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?