On Thu, Jul 15, 2010 at 11:37:33AM -0400, Ed Blackman wrote: >On Wed, Jul 14, 2010 at 09:01:01PM -0800, [email protected] wrote: >>@#...@# find. >> >>... anyways. >> >>How can I exclude one folder from my mailbox list using a find >>pipe? >> >>muttrc: >>mailboxes `find ~/.maildir/ -type d -name cur -printf '%h '` > >find ~/.maildir/ -type d -name cur \( -regex '.*/\.roger' -prune -o -printf >'%h ' \)
Nope, "/home/roger/.maildir/.roger" still gets by this incantation as well! Yea, tried the \( \) and !, not the regex until now, but they all allow "/home/roger/.maildir/.roger" to get by except for the one post here en stating the newline char at the end of it's incantation. I always though find to be finicky at times. :-/ (As they say, "Do one thing well..." and let something else handle the other issues.) -- Roger http://rogerx.freeshell.org/
