advait has asked for the wisdom of the Perl Monks concerning the following question:
when i unzip this tar file in windows it shows me all the folders like /var/www/web/tmp/output/nu98382139012783/en_ave_ran.out. What I mean it is storing the full path...it makes nested folder similar as UploadDir I don't know how to avoid these folder. I am running the script from cgi-bin folder of apache and these output files are located in some other directory Please help$cmd ="tar -cvvf $UploadDir/results.tar $UploadDir/en_ran.out $UploadD +ir/en-ave.out $UploadDir/en_ave_ran.out $UploadDir/gc-ave.out $Upload +Dir/score_ran.out $UploadDir/score-ave_ran.out $UploadDir/score-ave.o +ut ";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: path in tar file...please help
by gamache (Friar) on Oct 10, 2007 at 21:04 UTC | |
|
Re: path in tar file...please help
by johngg (Canon) on Oct 10, 2007 at 21:02 UTC | |
|
Re: path in tar file...please help
by philcrow (Priest) on Oct 10, 2007 at 21:04 UTC | |
|
Re: path in tar file...please help
by djp (Hermit) on Oct 11, 2007 at 00:49 UTC | |
|
Re: path in tar file...please help
by snopal (Pilgrim) on Oct 10, 2007 at 21:05 UTC | |
|
Re: path in tar file...please help
by perlhaq (Scribe) on Oct 11, 2007 at 00:28 UTC | |
|
Re: path in tar file...please help
by ilcylic (Scribe) on Oct 10, 2007 at 21:05 UTC |