-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, June 27 at 11:25 AM, quoth Wael Nasreddine: >> for F in ~/.mail/.List.* ; do >> mutt -f "$F" -e 'push "<delete-pattern>!~(~P)<enter>"' >> done > That worked very nice, but how do I sync the folder and quit mutt > after each mailbox ? Sorry am noob when it comes to -e switch , I > never it before...
mutt -f "$F" -e 'push "<delete-pattern>!~(~P)<enter><quit>"' ^^^^^^ ~Kyle - -- To bathe a cat takes brute force, perseverance, courage of conviction---and a cat. The last ingredient is usually hardest to come by. -- Stephen Baker -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iEYEARECAAYFAkhk8k4ACgkQBkIOoMqOI15+UgCfY2ItljtPYALSA4ot6zQzr11O Z30AnR6/IW9GWhastwDYrT3Aa790+qSp =5kfk -----END PGP SIGNATURE-----