Can anyone show me a simpler way:

Ronald Pikkert ronald at atcmp.nl
Wed Oct 17 05:39:25 AEST 1990


>From article <40852 at eerie.acsu.Buffalo.EDU>, by cloos at acsu.buffalo.edu (James H. Cloos):
> 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}' -`

Try this:

find . -name "*.Z" -exec uncompress {} \;


-
Ronald Pikkert                 E-mail: ronald at atcmp.nl
@ AT Computing b.v.            Tel:    080 - 566880
Toernooiveld
6525 ED  Nijmegen



More information about the Comp.unix.questions mailing list