Sublime Forum

Sublime Text 3 (3033) and Hard Links

#1

Sublime Text 3 does not seem to support hard links properly at least on windows.

echo alpha > a.txt mklink /h b.txt a.txt

Then edit b.txt (or a.txt) in ST3

It breaks the hard link.

ST2 works fine.

0 Likes

#2

sorry I couldn’t find an edit button. I just tested it with 3037 and it has the same behaviour.

0 Likes

#3

Try disabling this option:

// Save via writing to an alternate file, and then renaming it over the // original file. "atomic_save": true,

0 Likes

#4

Thanks, works perfectly!

0 Likes

#5

Damn, this is a severe issue.
ST must at least give a warning about the lost of the link.

0 Likes

#6

Ha! This is funny. I came here because I want SublimeText to break hard links. Thank you @adzenith for the help!

0 Likes