3
I'd like to synchronise some configuration files via a file hoster like Dropbox. I could create a hard link in the software's configuration folder and let it point to my cloud storage directory.
When having done that, is there a difference between those two files? I read somewhere that both files are attributes of the file in the master file table and that there would be no difference at all.
On the other hand, on Windows, directory junctions via mklink
can be found using dir /AL /S
, so they somehow differ from real directories.
Is that correct?
Are you referring to a symbolic link or the actual hard link?
– Raystafarian – 2014-04-11T19:03:08.450mklink
's help says that it creates a hard link to a file usingmklink /H
. So I am referring to a hard link. I suppose the directory junction is a symbolic link? However, I can use directory junctions just as normal directories, but I cannot use symbolic file links as files as those programs using it complain that they cannot find the file. So I thought those directory junctions would be hard links as well. – Xiphias – 2014-04-11T19:13:12.6431just to add to accepted answer you can hardlink files, but not directories. On the other hand (AFAIR) Dropbox properly handle junctions so you could link folders with
mklink /j
– wmz – 2014-04-11T19:40:48.440