Thursday, February 16, 2012

Restore Deleted Bookmarks in Chrome

Here's a quick tip that just saved my bottom. In Chrome, if you accidentally delete a bookmark, or bookmark folder, you can easily recover it by utilizing Chrome's automated Bookmarks backup file. Here's how.

On Mac OS X:
Open Finder and navigate to your user account under Places, if not already there. Then, go to Library > Application Support > Google > Chrome > Default.

On Windows 7:
The process is the same, but the directory structure is different. Here's how to find the folder.
Open Windows Explore, then go to Computer > OS (C:) > Users > [your username folder] > AppData > Local > Google > Chrome > UserData > Default

On Linux:
    *Note that I tested this in Lubuntu, but it should be the same for all users. If you are using Chromium, the directory name will be "chromium." If you are using Chrome, the directory will be "google-chrome."
Open a terminal and navigate to the following:
    For Chromium:

    user@hostname:~$ cd .config/chromium/Default

    For Chrome:

    user@hostname:~$ cd .config/chromium/Default

Inside the Default folder, you should see two files: Bookmarks and Bookmarks.bak. Make a backup copy of the Bookmarks file in another folder on your computer, then delete the existing Bookmarks file in the Default folder. Make a copy of the Bookmarks.bak and rename it to Bookmarks.
Restart Chrome and you should have your deleted bookmark(s) back!