* [email protected] <[email protected]>, 2010-07-14 23:26:53 Wed:
> On Thu, Jul 15, 2010 at 08:06:17AM +0200, David Haguenauer wrote:
> >I'd use grep; something like the following:
> >
> >    find ~/.maildir/ -type d -name cur -printf '%h ' | grep -v '\.roger/'
> I just tried both of these, and they don't filter using the grep -v.
> 
> If I'm not mistaken, find within the above incantation, finds every
> dir with a subfolder named "cur", as such, the "grep -v" filter is
> simply ignored ...  because find already passed every folder on one
> line instead of multiple lines with a newline at the end of each
> folder.

Absolutely. I guess that shows how hard I tested my code before
posting it ;o). I'm sure you have found a command that actually solves
your problem by now.

-- 
David Haguenauer

Attachment: pgpAPdMuZC9bo.pgp
Description: PGP signature

Reply via email to