On Sun, Oct 01, 2006 at 05:49:30PM +0100, Werner Schalk wrote: > Hi, > > hhhmm, this is strange. In a bash shell I get: > > # find "/var/amavis/quarantine/spam-*" -type f | xargs zgrep '^X-Envelope-To: > $i' | grep 'mydomain.com' | cut -c 24-43 >>list > find: /var/amavis/quarantine/spam-*: No such file or directory > > # find '/var/amavis/quarantine/spam-*' -type f | xargs zgrep '^X-Envelope-To: > $i' | grep 'mydomain.com' | cut -c 24-43 >>list > find: /var/amavis/quarantine/spam-*: No such file or directory > > This is not correct, the directory /var/amavis/quarantine is full of messages > like spam-XXXXXXX.gz. So how do I have to quote it to get this to work?
Argh.. seems I'm very tired today. This is the correct one, honestly. ;) find /var/amavis/quarantine -name 'spam*' -type f | xargs Cheers, Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/