Hello,

I am using mbsync together with mu and would like to run mu just after mbsync if mbsync did any updates, like getting new email. How can I determine this?

There's normally a progress output but this is only for human use. Once stdout isn't a TTY, mbsync will no longer output it, so I can't redirect and read that.

I don't see that the return code is altered based on no modification / modification, so that's not useful either.

One way would be to have a --force-progress option that enables progress output regardless if stdout is a TTY or not.

What do you guys think? I could maybe write a patch but I'd like to know in which direction you'd want to take this, like is --force-progress a desirable option?

Kind regards,
   Kristian.


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to