Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!umeecs!msi.umn.edu!noc.MR.NET!uc!shamash!hewey!ian From: ian@dms.cdc.com (Ian Hogg) Newsgroups: comp.unix.questions Subject: Re: Can anyone show me a simpler way: Message-ID: <571@hewey.dms.cdc.com> Date: 17 Oct 90 22:31:43 GMT References: <40852@eerie.acsu.Buffalo.EDU> Organization: Empros Systems, Control Data, Plymouth, MN Lines: 15 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: find . -name \*.Z -exec uncompress {} \; -- Ian Hogg x-4484