[ILUG] find question

bryan hunt admin at revoltingdigits.com
Tue Apr 13 13:56:52 IST 2004


bryan hunt wrote:

> I amn't too sure about find's syntax but is it possible to do 
> something like this ?
>
> find /home/**/Maildir/.spam/[cur|new]
>
> Where it finds all the users current and new imap folders in one 
> command ?
>
> --B

Sorry should have looked harder

The answer is

find /home/**/Maildir/.spam/{cur,new}

I love bash

--B




More information about the ILUG mailing list