Created
August 13, 2017 23:02
-
-
Save brong/71f35e7526e142fbb0bc43872c16064e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 xconvmultisort (reverse arrival) (conversations position (1 30)) utf-8 FLAGGED not folder "INBOX.Junk Mail" not folder "INBOX.Trash" not folder "INBOX.Notes" | |
* XCONVMULTI (("INBOX" 1108730345) ("INBOX.AICSA" 1435285570) ("INBOX.Archive.2014" 1430929570) ("INBOX.Archive.2016" 1495515577) ("INBOX.INBOX.DummyFolder" 1457663261) ("INBOX.INBOX.Expenses.Business" 1455445600) ("INBOX.INBOX.Expenses.MIV" 1458390776) ("INBOX.INBOX.Expenses.Work" 1462245100) ("INBOX.MIV18" 1438554722) ("INBOX.Sent Items" 1203397490)) ((20765a266fec9ece (8 2495)) (e74e1941d02f5be9 (5 161)) (dd72894285154f61 (5 160)) (01dec0aba05a70a2 (8 2396)) (d0a2390ab104bce0 (0 81018)) (e6e41aebda6683f2 (8 2393)) (4d346abcb421091d (8 2388)) (a59ea77a238687b0 (0 80965)) (fc26380d144bcf18 (8 2279)) (99ce16bc3a5becdc (8 2197)) (9d801552f79f58f2 (1 2959)) (12c55050ce5bf725 (8 1776)) (3016f1eec3b4deea (8 1763)) (df32ba8e30ba723b (0 77700)) (3b85a672e820f396 (8 1565)) (6f4a2d9e33735a7d (0 76640)) (f7dad56fded8935d (5 124)) (8698e3e71acaf414 (8 1276)) (502fa7d7b1e9c9e3 (7 25)) (98e0f74e172d2875 (4 6)) (faeacacc7d98e640 (5 75)) (ca4ef10f8b7e3574 (5 96)) (d68323b81ffa5ee7 (5 113)) (9692bb1447280c1e (5 74)) (6b4bc50baa3adaa6 (5 72)) (5ca5a9cd96887011 (5 71)) (e439cefda591e631 (6 6)) (20988484c57c5396 (5 70)) (3f9782b6dafb25c0 (5 69)) (dff1cf7869b72d67 (3 3214))) | |
* OK [POSITION 1] | |
* OK [HIGHESTMODSEQ 37958312] | |
* OK [TOTAL 39] | |
3 OK Completed (in 0.255 secs) | |
xconvmultisort is similar to a sort - except that there's a second options which says to use conversations, gives a window of 30 messages. | |
You have to select a folder, but it doesn't matter which one. | |
You don't need all the options our web interface uses though - if you're happy to have things in those two folders and happy to avoid conversation squishing, you can see every message as a separate instance: | |
3 xconvmultisort (reverse arrival) () UTF-8 FLAGGED | |
* XCONVMULTI (("INBOX" 1108730345) ("INBOX.AICSA" 1435285570) ("INBOX.Archive.2014" 1430929570) ("INBOX.Archive.2016" 1495515577) ("INBOX.INBOX.DummyFolder" 1457663261) ("INBOX.INBOX.Expenses.Business" 1455445600) ("INBOX.INBOX.Expenses.MIV" 1458390776) ("INBOX.INBOX.Expenses.Work" 1462245100) ("INBOX.MIV18" 1438554722) ("INBOX.Sent Items" 1203397490) ("INBOX.Trash" 1108841441)) ((d11933a52ffb63bf (10 59986)) (20765a266fec9ece (8 2495)) (e74e1941d02f5be9 (5 161)) (dd72894285154f61 (5 160)) (01dec0aba05a70a2 (8 2396)) (d0a2390ab104bce0 (0 81018)) (e6e41aebda6683f2 (8 2393)) (4d346abcb421091d (8 2388)) (a59ea77a238687b0 (0 80965)) (fc26380d144bcf18 (8 2279)) (99ce16bc3a5becdc (8 2197)) (9d801552f79f58f2 (1 2959)) (12c55050ce5bf725 (8 1776)) (3016f1eec3b4deea (8 1763)) (df32ba8e30ba723b (0 77700)) (3b85a672e820f396 (8 1565)) (6f4a2d9e33735a7d (0 76640)) (f7dad56fded8935d (5 124)) (8698e3e71acaf414 (8 1276)) (502fa7d7b1e9c9e3 (7 25)) (98e0f74e172d2875 (4 6)) (faeacacc7d98e640 (5 75)) (ca4ef10f8b7e3574 (5 96)) (d68323b81ffa5ee7 (5 113)) (9692bb1447280c1e (5 74)) (6b4bc50baa3adaa6 (5 72)) (5ca5a9cd96887011 (5 71)) (e439cefda591e631 (6 6)) (20988484c57c5396 (5 70)) (3f9782b6dafb25c0 (5 69)) (dff1cf7869b72d67 (3 3214)) (7b6b2abd4da44f03 (3 3208)) (5f5be44a37ae97f8 (9 6637)) (29bf53d86aa84d62 (8 820)) (2ed5730666285200 (3 2767)) (587bc200a2b0d8d0 (1 309)) (82e846be78bcaf40 (1 306)) (7437065b97b353c3 (1 253)) (4e2d99c0bde7f0df (1 340)) (16137c4536533346 (2 529))) | |
* OK [POSITION 1] | |
* OK [HIGHESTMODSEQ 37958312] | |
* OK [TOTAL 40] | |
3 OK Completed (in 0.214 secs) | |
So here's how it works. The first response item is a list of pairs, folder name and uidvalidity. | |
The second response item is a list of (threadid (folder uid)) where folder is an index into the first list. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment