On Mon, Dec 28, 2009 at 3:50 PM, Mikie <[email protected]> wrote: > > #!/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?
Sure: for file in /mnt/lfs/sources/*.tar*; do tar xvf $file; done You will probably find useful using Arch Linux's makepkg tool for compiling/extracting/checking md5sums automatically. I'm currently porting Crux's very similar script, pkgadd, to sh for my next LFS build. They use very transparent files for building, unlike Debian's and other distro's very complicated .spec files. Andres -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
