How to script automate unTAR of packages

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


On Mon, Dec 28, 2009 at 2:19 PM, Mikie <kmb at mikienet.com> 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:

#!/bin/sh
for file in /mnt/lfs/sources/*.tar*; do
  tar xvf $file
done

Andres



More information about the lfs-support mailing list