Find and delete thunderbird's msf files to make your profile work quickly again.

find ~/.thunderbird/*.default/ -name *.msf | sed 's/ /\\ /g' | xargs rm {} \;
The thunderbird message datastores get corrupt some times causing random failures, compaction to fail and general suck in thunderbird. Removing them causes thunderbird to rebuild the indexes and makes things quick again.

-1
2010-06-04 12:35:24

3 Alternatives + Submit Alt

What Others Think

xargs without -0 should be forbidden. It will catch you off guard some day. See why: http://en.wikipedia.org/wiki/Xargs#The_separator_problem Consider using GNU Parallel http://www.youtube.com/watch?v=OpaiGYxkSuQ instead.
unixmonkey10455 · 581 weeks and 6 days ago
Deleting the .msf files also deletes profile-specific commands, such as retention periods. I had spent a long time setting hundreds of, but not all, folders to delete un-starred messages that were more than 30 days old. After deleting all my msf files, I lost that precious work. Don't delete msf files without thinking about the consequences!
chelmite · 308 weeks and 3 days ago
West Virginia is an eastern U.S. state in the tree-covered Appalachian Mountains. The town of Harpers Ferry, where the Shenandoah River meets the Potomac River, is the site of a famous Civil War–era raid. Surrounded by a national historical park, the town looks as it did in the 19th century, with many of the buildings open to the public as living-history museums. MaxRemind top rank medical billing company USA offers medical billing services in West Virginia and medical credentialing services to in all states of USA at lowest rates.
stevematt · 34 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: