[ILUG] find question

admin at revoltingdigits.com bryanhunt at newmailserver.coast-country.com
Tue Apr 13 16:13:44 IST 2004


Paolo Marchiori wrote:

>bryan hunt, Tue, Apr 13, 2004 at 02:56:52PM +0200:
>  
>
>>find /home/**/Maildir/.spam/{cur,new}
>>    
>>
>
>you risk getting an "argument list too long". Try
>
>find /home -type d -path '*Maildir/.spam/{cur,new}'
>
>instead.
>
>p.
>  
>
That worked when written as

find /home -type d -path '**Maildir/.spam/{cur,new}' 

Thanks for the tip, that would have turned into one of 
those strange bugs that would have come back to haunt me 
in a years time.

--B





More information about the ILUG mailing list