Can anyone show me a simpler way:

wangh at beasley.CS.ORST.EDU
Wed Oct 17 07:28:14 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}' -`
>
>Thnaks.
>
>(& for those novices herein, yes, it does work. :)
>

Easy. 

uncompressdir .


In case you don't have uncompressdir, there is another way

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

>-JimC
>--
>James H. Cloos, Jr.		Phone:  +1 716 673-1250
>cloos at acsu.buffalo.edu		Snail:  PersonalZipCode:  14048-0772, USA
>rutgers!ub!cloos

wangh at ucs.orst.edu



More information about the Comp.unix.questions mailing list