How to script automate unTAR of packages

Mikie kmb at mikienet.com
Mon Dec 28 12:20:54 PST 2009


>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

Since this is so simple ... can I do this on a command line?

Thanks.



More information about the lfs-support mailing list