#!/bin/sh while [ -n "$1" ] ; do cat $1 | gunzip -d | tar xvf - shift done