On Fri, Sep 21, 2018 at 11:00:05PM +0200, Kristian Larsson wrote:
> 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?

 touch timestamp.file
 mbsync ...
 find /path/to/your/mbox/ -type f -newermm timestamp.file [...] -print
 rm -f timestamp.file

 You should add some flags to find in order to exclude .uidvalidity
 and .mbsyncstate files.
-- 
 Eugene Berdnikov


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

Reply via email to