Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 7 of 7

This is a discussion on Change directory of Bookmarks file- within the Chrome Talk section, part of the Google Chrome category: I'm trying to figure out how to change the directory where the Bookmarks file is saved. I've successfully changed my ...


  1. #1
    phishie is offline Junior Member
    Join Date
    Mar 2009
    Posts
    1

    Default Change directory of Bookmarks file-

    I'm trying to figure out how to change the directory where the Bookmarks file is saved. I've successfully changed my user data directory (with the --user-data-dir switch) but that's a bit more than I need. I only need to change where the Bookmarks file is saved.

    What I'm trying to accomplish is syncing chrome bookmarks across multiple PCs with dropbox. I'd rather not sync my history/cookies/cache etc, which is what happens when I change my entire user data directory.

    Ideas?

  2. #2
    Stamga's Avatar
    Stamga is offline Super Moderator/Designer
    Join Date
    Mar 2009
    Location
    Qc, Canada
    Posts
    601

    Default

    Well, I don't know how to change the directory but I know where they are located.

    In Vista:
    C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\History

    In XP:
    C:\Documents and Settings\<username>\Application Data\Local Settings\Google\Chrome\User Data\Default\History

    Maybe if you share that directory with your other computers, you could make it sync between each other...

  3. #3
    Join Date
    Apr 2009
    Location
    Illinois
    Posts
    49

    Default

    I couldn't really help you, but remember, Google Search is your friend.

  4. #4
    axel668 is offline Junior Member
    Join Date
    Mar 2009
    Location
    Germany
    Posts
    4

    Default

    You can sort out the cache with the --disk-cache-dir=... option - solves the issue for me, as this is really the biggest chunk

  5. #5
    Join Date
    Apr 2009
    Location
    Illinois
    Posts
    49

    Default

    I'm a bit confused. Could you describe that better, Axel, please?

  6. #6
    flippet is offline Junior Member
    Join Date
    May 2009
    Posts
    2

    Default

    I have found a way to do this in vista/windows 7 using the 'symbolic link' command for the bookmarks files to redirect to an 'offline files' location (I guess it would work similarly with dropbox). It's a bit long-winded, but let me know if you need an explanation...

  7. #7
    flippet is offline Junior Member
    Join Date
    May 2009
    Posts
    2

    Default

    sod it - here's the explanation, it'll help me too when I need to re-install, can just copy/paste!

    - close chrome if it's open

    - go to the user data directory where the bookmarks and bookmarks.bak files are located (on my pc this is "C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default")

    - move (not copy) the 2 files to the desired directory (for me: "s:\favourites\chrome")

    - click start, type cmd, right-click and run as administrator (admin rights probably not necessary, but best to get it into muscle memory!)

    - Create a hard-linked file to "bookmarks" by typing: mklink /h "C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\bookmarks" "s:\favourites\chrome\bookmarks"

    - Create a hard-linked file to "bookmarks.bak" by typing: mklink /h "C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\bookmarks.bak" "s:\favourites\chrome\bookmarks.bak"

    That's it - chrome will believe the files are where they used to be, but we know better obviously replace the paths with whatever directories you like, and keep the inverted commas round the paths if there are spaces. Unfortunately I don't think it works with xp since vista upgraded ntfs a little to allow symbolic links.
    Last edited by flippet; 05-13-2009 at 07:51 AM.

Similar Threads

  1. File size for img's
    By bendsen in forum Chrome Talk
    Replies: 0
    Last Post: 12-17-2008, 10:49 AM
  2. How to to change the language?
    By dogger in forum Chrome Troubleshooting
    Replies: 2
    Last Post: 12-02-2008, 08:33 AM
  3. How To Easily Change Your Google Chrome Theme!
    By HydroJohn in forum Chrome Tips & Tricks
    Replies: 4
    Last Post: 10-18-2008, 07:38 AM
  4. Safe Browsing File
    By ottovon in forum Bugs and Vulnerabilities
    Replies: 0
    Last Post: 09-23-2008, 03:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •