Can anyone show me a simpler way:
Bruce R. Larson
ires at kaspar.UUCP
Wed Oct 17 10:23:58 AEST 1990
In article <40852 at eerie.acsu.Buffalo.EDU>, cloos at acsu.buffalo.edu (James H. Cloos) writes:
> If anyone can show me a simpler way to do this (the simplest?) I'd be
> very appreciative:
>
> uncompress `du -a . | egrep .Z | awk '{print $2}' -`
>
How about this using SysV's /bin/find
find . -name \*.Z -print -exec uncompress {} \;
or this using either GNU's or BSD's find
find . -name \*.Z -exec uncompress {} \;
Bruce
blarson%kaspar.UUCP at cs.umb.edu
Integral Resources, Milton MA
More information about the Comp.unix.questions
mailing list