Hi, I would like to move mails selected by a notmuch query (i.e. "tag:movethismailtobox-ThisBox") to *ThisBox* I need this to somewhat still have usable access through my phone IMAP client. I am actually using afew already, but as I have 1000+ mailboxes it is unmaintainable to create the rules manually. So I am thinking to either modify the afew-configuration file with another script (=not nice) or either write a script myself. It wouldn't be very difficult to generate the necessary notmuch search --output=files ... | xargs mv ... but, there is a catch: I use isync to synchronize my mails with my IMAP server and therefor I must rename every message file when moving it. As I am not enough aware of maildir and IMAP servers, I am pretty ignorant to what the new filename should be. So I wanted to check if somebody else already wrote some bash/perl/whatever script which handles this ? thx -- erik colson _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org