How about (in bash):
foreach f in *.gz ; do
gunzip $f
done
-derek
Quoting sgoldman <
sgoldman@...>:
> Hello Blu.
> I 'm faced with a directory with about 100 gzip files that
> need to be uncompressed.
>
> they are at s_2_0001_int.txt.p.gz and go to s_8_0098_nse.txt.p.gz
>
>
> s_2_0001_int.txt.p.gz
>
> s_8_0098_nse.txt.p.gz
>
>
> If there was ever a need for a script this is it.. little
> experience here though..
>
> I 'm thinking a for [i} something
> to load the file * gz
> then gunzip
> form 1 to 100
>
> not sure where to start.
>
> Open for some ideas
>
> Thanks,
> Stephen
>
>
>
>
>
>
>
>
>
>
> s_2_0001_int.txt.p.gz
>
> s_8_0098_nse.txt.p.gz
>
>
>
>
> Stephen Goldman
> System Administrator
> MIT Biology
>
sgoldman@...
> _______________________________________________
> Discuss mailing list
>
Discuss@...
>
http://lists.blu.org/mailman/listinfo/discuss>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL:
http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@... PGP key available
_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss