Windows hard links

As on Unix, it is also possible on Windows to create a hard link to a file. I'm using this feature to backup in Dropbox files that need to be placed in some other directory. For instance, my ssh config file.

Here's how you do it from a cmd:

mklink /h %USERPROFILE%\Dropbox\.ssh\config %USERPROFILE%\.ssh\config

Note that there is no way to visualy know that it is a hard link. You have to guess and confirm your intuition doing:

fsutil hardlink list config

Also, if you are wondering, delete one of the file doesn't delete the file. You need to delete all links to it to get rid of it.