Don't ask to ask, just ask | |
PerlMonks |
excuting the tar commandby Anonymous Monk |
on Apr 25, 2001 at 17:58 UTC ( [id://75450]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to automate some of my backups. I wrote a small perl script to tar directories. Some of the directories are located on a windows partition. The following command works from the command line in Linux but not in the script. tar cvf /backup/desktop.tar /drive-c/windows/Program\ Files/Desktop. In the perl script the space between Program and Files has tar thinking it is two diffrent directories and it errors out. I have tried several diffrent variables but nothing seems to work. Thanks, David
Back to
Seekers of Perl Wisdom
|
|