Linking external directories to Google drive

I recently started to use Google Drive desktop client on Windows. It created Disk Google in my home directory. Test was OK, but I realized one thing: there is no possibility to add a directory outside of this default directory. I was used to SugarSync where I had total control, which directory will be synchronized and I lacked this feature in Google Drive. Having strong Unix background I immediatelly had an idea to use symlinks. I knew there was such functionality in NFTS and after while I found junction command.

The first attempt was unsuccessful. When I created symlink in my Google Drive directory pointing to the requested location, nothing happened. Google Drive completely ignored such directory. When I reversed the direction, it worked. So I had to move existing directory (AppData\Roaming\.purple\logs\ to synchronize IM conversations across multiple computers) to Google Drive and then create symlink on original location. That’s it.

c:\Users\Leoš\AppData\Roaming\.purple>c:\bin\junction.exe logs "c:\Users\Leoš\Disk Google\pidgin\"

Junction v1.06 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Created: c:\Users\Leo?\AppData\Roaming\.purple\logs
Targetted at: c:\Users\Leo?\Disk Google\pidgin"

1 komentář: „Linking external directories to Google drive

  • 06/01/2014 (08:44)
    Permalink

    mklink.exe is standard part of Windows since Windows 7 I think. It is more recent version of the tool.

    Reagovat

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *

This site uses Akismet to reduce spam. Learn how your comment data is processed.