diff --git a/knowledge base/thunderbird.md b/knowledge base/thunderbird.md index fa70eeb..30b6980 100644 --- a/knowledge base/thunderbird.md +++ b/knowledge base/thunderbird.md @@ -17,10 +17,11 @@ Default directories path: -| Directory | Linux | Mac OS X | Windows | -| --------- | ---------------------- | ---------------------------------------------- | -------------------------------------- | -| Binaries | `/usr/bin` | `/Applications/Thunderbird.app/Contents/MacOS` | `C:\Program Files\Mozilla Thunderbird` | -| Data | `${HOME}/.thunderbird` | `${HOME}/Library/Thunderbird` | `%APPDATA%\Roaming\Thunderbird` | +| Directory | Linux | Mac OS X | Windows | +| --------- | ---------------------- | ---------------------------------------------- | ---------------------------------------- | +| Binaries | `/usr/bin` | `/Applications/Thunderbird.app/Contents/MacOS` | `C:\Program Files\Mozilla Thunderbird` | +| Data | `${HOME}/.thunderbird` | `${HOME}/Library/Thunderbird` | `%APPDATA%\Roaming\Thunderbird` | +| Profiles | `${HOME}/.thunderbird` | `${HOME}/Library/Thunderbird/Profiles` | `%APPDATA%\Roaming\Thunderbird\Profiles` | ## Profiles @@ -49,7 +50,7 @@ ${THUNDERBIRD_BIN_DIR}/thunderbird-bin -P 1. Close Thunderbird if it is open. 1. Copy the profile folder to another location: ```sh - cp -a "${THUNDERBIRD_DATA_DIR}/Profiles/we12yhij.default" "/Backup/Thunderbird/we12yhij.default" + cp -a "${THUNDERBIRD_PROFILES_DIR}/we12yhij.default" "/Backup/Thunderbird/we12yhij.default" ``` ### Restoring profiles from backups @@ -57,8 +58,8 @@ ${THUNDERBIRD_BIN_DIR}/thunderbird-bin -P 1. Close Thunderbird if it is open. 1. If the existing profile folder and the profile backup folder have the same name, replace the existing profile folder with the profile backup folder: ```sh - rm -fr "${THUNDERBIRD_DATA_DIR}/Profiles/we12yhij.default" - cp -a "/Backup/Thunderbird/we12yhij.default" "${THUNDERBIRD_DATA_DIR}/Profiles/we12yhij.default" + rm -fr "${THUNDERBIRD_PROFILES_DIR}/we12yhij.default" + cp -a "/Backup/Thunderbird/we12yhij.default" "${THUNDERBIRD_PROFILES_DIR}/we12yhij.default" ``` > Important: The profile folder names must match exactly for this to work, including the random string of 8 characters. 1. If the profile folder names do not match, or to move or restore a profile to a different location: @@ -120,7 +121,7 @@ Steps to rebuild the Global Database: 1. Quit Thunderbird. 1. Delete the `global-messages-db.sqlite` file in the Thunderbird Profile you want to rebuild the index for. ```sh - rm "${THUNDERBIRD_DATA_DIR}/Profiles/we12yhij.default/global-messages-db.sqlite" + rm "${THUNDERBIRD_PROFILES_DIR}/we12yhij.default/global-messages-db.sqlite" ``` 1. Start Thunderbird.