How to script automate unTAR of packages

Andres P 97.56.04 at
Mon Dec 28 11:14:13 PST 2009

On Mon, Dec 28, 2009 at 2:19 PM, Mikie <kmb at> wrote:
> What am I doing wrong?

You are probably using GNU tar, so tar xvf works for all tarballs. And
you also don't need to do such a long script:

for file in /mnt/lfs/sources/*.tar*; do
  tar xvf $file


More information about the lfs-support mailing list