Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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 :)

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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