linux - finding file ib the directory and extract the file using Perl script -


another question experts here. have perl script here , intention find file , untar . when execute line nothings happen .

my $bundle = "`awk -f \'=\' \'{print \$2}\' config.txt`"; $bundlename = `awk -f \'=\' \'{print \$2}\' config.txt | awk -f \'/\' \'{print \$11}\'`;  print $output;   system ("wget $bundle");  print "$bundlename\n";   $cd = `tar -xzvf $bundlename`; 

can me ? right script find file , after finding extract file tar.gz file

for background of code. have config file have address download file , if file finished downloaded in machine $bundlename variable find print name of file , after $cd variable extract file after finding name of file.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -