[KLUG Members] method of grep list of .gz files?

Adam Tauno Williams awilliam at whitemice.org
Thu Nov 25 11:02:14 EST 2004


> I have set up a postfix mail server with amavis-new and spamassassin and 
> it quarantines spam and saves them as these spam-MESSAGSEID.gz files. I 
> want to check and see if any of these are from a specific user account 
> and am looking for a way to grep USERNAME *.gz in that directory.

awilliam at laptop01:~> zgrep
grep through gzip files
usage: zgrep [grep_options] pattern [files]




More information about the Members mailing list