Topic: https://brettterpstra.com/2012/09/15/vacuuming-your-mail-app-index-still-works-wonders/

Comments

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Ivo 13y, 71d ago

For it doesn't work.

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

John 13y, 78d ago

This worked great! Worked for me on Mountain Lion 10.8.2. Huge speed boost!

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Joshua Kehn 13y, 143d ago

I added this to my .zshrc file. Thanks!

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Kevin Yank 13y, 143d ago

Didn’t work for me:

➤ sqlite3 ~/Library/Mail/V2/MailData/Envelope\ Index vacuum;
SQL error: file is encrypted or is not a database
hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

nl 13y, 143d ago

For whatever reason, I needed to modify the awk command to 'print $6' as the ls -lsh command puts the file size as the 6th column on the output, not the 5th. Not sure if that's just a typo at your end, or my end, or what....

In any case, thanks for this tip. Not sure yet if Mail.app will be any faster, but I did cut the size of the Envelope database by approx. 30%.

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Thomas_U 13y, 144d ago

terrific improvement in responsiveness – Thanks a lot!

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Peter 13y, 145d ago

Thanks a ton for this great tip! I'm still running Lion and the path and command is the same.

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!