[LUNI] TAR

Ted J. Wagner tjwags at cyberdude.com
Wed Nov 7 19:37:08 CST 2001


Jeff,

How about (assuming the files are in the current directory
and nothing else there needs tar-ring):

for FILE in *
do
         tar -xvf ${FILE}
done

At 11/7/01 01:03 PM, you wrote:
>Jeff Norton wrote:
> > I need to write a script that will untar several files. I can't hardcode
> > the file names in the script because they will change. Any ideas?
> > Jeff Norton

_/_/_/_/_/       _/    _/      _/           Ted J. Wagner
    _/           _/    _/  _/  _/          ((( Soundwaves )))
   _/           _/    _/ _/_/ _/             Fender Bender
  _/     _/    _/    _/_/  _/_/         Have Guitar, Will Travel
_/     _/_/_/_/    _/      _/           tjwags at cyberdude.com
Linux *is* user-friendly, just picky who it chooses for friends!




More information about the luni mailing list