[Sussex] untarring multiple files at once

John Crowhurst fyremoon at fyremoon.net
Wed Aug 27 20:52:01 UTC 2003


Does anyone know how to extract multiple tar files at one time, as tar
doesn't accept multiple tar files.

I usually do this:

ls -1 *.tar.gz | awk {'print "tar xvfz " $1'} >1.sh;sh 1.sh;rm -f 1.sh

Does anyone know how to do this in one command, rather than creating a
temporary shell script?

--
John







More information about the Sussex mailing list