Oswald Buddenhagen writes: >> /Archive/cur/'1487608528.de209b1bae3fa41e.L_LAPTOP:2,S,U=4367' >> >> had been refiled and synced under mbsync (after renaming the message >> with the syntax you suggested) and it does show up as unread again. >> > yes, because that's still messed up. > rename 's/(:2,(?:[A-Z]+,)?)(U=[0-9]+)$/\2\1/' */*/* Are you sure about the syntax?
Before: /Archive/cur/1487568064.cb55ebb042c5c66b.L_LAPTOP:2,RS,U=4366 After: /Archive/cur/1487568064.cb55ebb042c5c66b.L_LAPTOPU=4366:2,RS, Did you mean 's/(:2,(?:[A-Z]+,)?)(U=[0-9]+)$/;\2\1/' ? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel