tar command

Adrian Ho aho-lfs-discuss at 03s.net
Wed Jul 4 20:42:33 PDT 2001

On Wed, Jul 04, 2001 at 02:56:19PM -0400, atark at thepipeline.net wrote:
> 'for i in `ls | egrep "\.tar\.gz$|\.tgz$"`; do tar xzf $i; done;'

What's wrong with:

  for i in *.tar.gz *.tgz ; do tar xzf $i ; done


- Adrian
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list