print $? if $?;
Another quick thing to try is to replace the tilde with a full path:
`tar -xf $tarfile -C /home/foo/path_to_dir`;
See also: What's wrong with using backticks in a void context?
In reply to Re: tar a files from loop
by toolic
in thread tar a files from loop
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |