Batch Archive GMail with Mutt
If you have thousands of emails in your inbox there is no way through the gmail UI to archive them without going page-by-page. Â Here's how to do it with Mutt:
Install Mutt and configure it for gmail using these directions:Â http://lifehacker.com/5574557/how-to-use-the-fast-and-powerful-mutt-email-client-with-gmail
Open mutt (allow all of your message headers to get pulled down) and type [shift + D].  This will allow you to enter a pattern to mark messages for deletion. In the gmail-centric config from the link in step 1, marking for deletion just means archiving.
At the prompt at the bottom type "~s ./*" omitting the quotes. Â This should mark all your messages in your inbox for deletion.
After the marking is complete ype "$" omitting the quotes. Â This will push deletion instruction to the server.
Inbox Zero! Â All your inbox messages have been archived!








