I want a file on my hard drive in Windows 7 to sync to my public dropbox folder.

I can do this with:

mklink /H "c:\dropbox\Public\test.txt" "c:\data\test.txt"

And the first time after I do this, the file c:\dropbox\Public\test.txt is indeed created, and is available online via http://dl.dropbox.com/u/.../test.txt.

And when I update the file c:\data\test.txt then indeed the file c:\dropbox\Public\test.txt reflects the changes, however: http://dl.dropbox.com/u/.../test.txt does not reflect the changes since DropBox somehow doesn't get the information that that file was changed.

What is a workaround or another solution to this so that any changes in the original file is also reflected in the dropbox URL link?

link|improve this question

feedback

2 Answers

I'm using a folder symlink instead, and putting my files under that symlinked folder, and do not experience your problem so far, I think its easier than put a symlinked file(s) to a dropbox folder

Just a suggestion, use mklink /D to symlink a folder :)

link|improve this answer
feedback

You have to make sure the "canonical" version of the file is in Dropbox's folder:

  • First move the original "real" file to your Dropbox folder
  • Then in the folder the file used to be, create a (hard?) link that points to the file that was just moved to Dropbox.

reference: Watch any folder/junction/symbolic links bug

I do this to synchronize my vim settings.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.