The tar files doesnot copy to another directory. But from the command line for a single tar file it untars and move the file to another folder Why the tar command doesnot works for a loop@tarfiles=`ls dirname`; foreach $tarfile(@tarfiles){ `tar -xf $tarfile -C ~/path_to_dir`; }
In reply to tar a files from loop by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |