logoalt Hacker News

system2today at 4:27 AM2 repliesview on HN

Are you deleting the others and creating a symlink to the original? How does this work exactly? I didn't get it from the FAQ section.

Does this mean that if the original is gone, all the file links will not be found?


Replies

_diyartoday at 4:38 AM

No, this uses a feature of the macOS file system. From the FAQ:

> Q: Are clone files the same thing as symbolic links or hard links?

> A: No. Symbolic links (“symlinks”) and hard links are ways to make two entries in the file system that share the same data. This might sound like the same thing as the space-saving clones used by Hyperspace, but there’s one important difference. With symlinks and hard links, a change to one of the files affects all the files.

> The space-saving clones made by Hyperspace are different. Changes to one clone file do not affect other files. Cloned files should look and behave exactly the same as they did before they were converted into clones.

show 1 reply
ianmurraystoday at 4:33 AM

Here’s a lengthier explanation [1] but it’s basically an APFS feature.

[1]: https://hypercritical.co/hyperspace/#how-it-works

show 1 reply