On Sunday 10/30/11 19:00:14 CST, Michael Graham wrote:
> I tried making the fix you suggested, but it still hasn’t workedi — I still 
> can’t access the nested folders.  I don’t get the previous error in printed 
> in the terminal on exit, but I now get this: 
> 
>     sh: line 0: [: too many arguments
>     sh: line 0: [: /Users/mike/.mail/Deleted: binary operator expected
>     sh: line 0: [: /Users/mike/.mail/Sent: binary operator expected
>     Mailbox is unchanged.
> 
> I suspect “Deleted” and “Sent” are “Deleted Messages” and “Sent Messages”.  I 
> use these mailboxes because my iPhone created them and I can’t work out how 
> to make it use other folders.
>       Any other ideas on how to fix this?


Hi Mike,

I think the error is mostly caused by the space in the directory names. 
Try to use a double-quote mark for variable $folder in if condition.

if [ -x "$folder" ];

-- 
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::

Attachment: signature.asc
Description: Digital signature

Reply via email to