Deleting old maildir messages, is what I'm doing OK?

Kevin J. McCarthy kevin at 8t8.us
Mon Feb 15 19:59:28 UTC 2021


On Mon, Feb 15, 2021 at 10:12:50AM -0800, Felix Finch wrote:
>On 20210215, Kevin J. McCarthy wrote:
>>once in a while you may want to regenerate your header caches.
>
>Is there any way to do that from the command line?

You could write a script, I guess, something like:

cd $header_cache_dir
rm -f *

cd $mutt_folder_dir
for mb in *; do
   mutt -e 'set quit=yes; push "<quit>"' -f $mb
done


-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210215/c49d39ad/attachment.asc>


More information about the Mutt-users mailing list