Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!world!kaspar!ires From: ires@kaspar.UUCP (Bruce R. Larson) Newsgroups: comp.unix.questions Subject: Re: Can anyone show me a simpler way: Summary: `find' handles this more easily Message-ID: <5@kaspar.UUCP> Date: 17 Oct 90 00:23:58 GMT References: <40852@eerie.acsu.Buffalo.EDU> Lines: 18 In article <40852@eerie.acsu.Buffalo.EDU>, cloos@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@cs.umb.edu Integral Resources, Milton MA