Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Remove some extraneous Mail mailboxes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Remove some extraneous Mail mailboxes
Authored by: orca on Jul 12, '05 08:18:34PM
If you want the list of files at once, here's a one-liner:

cd ~ && find Library/Mail -path "*.imapmbox/Cached*" -or -path "*.mbox/mbox" -or -path "*.*mbox/content_index" -or -path "*.mbox/table_of_contents" -or -path "*.mbox/Info.plist" -or -path "*.mbox/mbox.SKindex" -or -path "*.mbox/mbox.SKindex.isValid"

This might make it easier to construct the required backups before removing the files. For example, save the above command's output to a file to easily create an archive. (It's annoying that command line tools are still so completely inept at handling filenames with spaces.)

[ Reply to This | # ]