Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-02 Thread du yang
On Thursday 11/03/11 05:48:25 CST, Michael Graham wrote: > None of my sublevel mailboxes start with a ‘.’ — they’re just regular > mailboxes. A quick ls shows: > > drwx-- 7 mike 238B 31 Oct 18:58 Accounts/ > drwx-- 5 mike 170B 31 Oct 18:58 Archive/ > drwx-- 14 mike 476B 31

Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-02 Thread Michael Graham
On Wed, Nov 02, 2011 at 05:10, du yang wrote: Hi Du Yang, > There is minor error in your script. > > The if condition's syntax is incorrect, it should be like as writing below. > (Note the quote mark position.) > > if [ -x "$folder" ]; then I’ll make that change and see if it works. > The in

Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-01 Thread du yang
On Tuesday 11/01/11 21:24:02 CST, Michael Graham wrote: > Hi Du Yang, > > Thanks for the above; it fixed the terminal errors, and now I’m running it > without anything being printed to the terminal on exit. > However, it’s *still* not letting me traverse the nested folders using > the brow

Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-01 Thread Michael Graham
On Sun, Oct 30, 2011 at 12:01, du yang wrote: > 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" ]; Hi Du Yang, Thanks for the above; it fixed the terminal errors, and now I’m ru

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-30 Thread du yang
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 argum

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-30 Thread Michael Graham
On Sun, Oct 30, 2011 at 03:06, du yang wrote: > Are the last one script? > There is one space missing in it. the if condition should be like > > if [ -x $folder ]; > > instead of > > if [ -x $folder]; > > Is that your problem? > > The first one script looks having no problem on syntax after r

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-29 Thread du yang
On Sunday 10/30/11 06:48:28 CST, Michael Graham wrote: > When I exit, I see this in the terminal printed several times, just > after the command to start mutt: > > sh: line 0: [: missing `]' > Are the last one script? There is one space missing in it. the if condition should be like

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-29 Thread Michael Graham
On Sat, Oct 29, 2011 at 15:40, Michael Graham wrote: > I’ve been trying to set up OfflineIMAP to sync my mail to my machine into a > Maildir set of folders. So far, mostly works, but I can’t access nested > folders — only the top-level folders. I used ‘/’ as the seperator so that > OfflineIMA