Consider that A.txt
and B.txt
are hard-links that point to the same data stream. If I want to update that data stream without losing the links, I may use the batch command type New.txt > A.txt
or type New.txt > B.txt
.
On my tests, this worked fine, but the speed is very slow (in comparison to a simple copy operation). I guess there is some huge overhead in that operation.
I tried to write something similar on PowerShell, in case it were faster, but I could not, because PowerShell garbled the binary data by forcing its default encoding on the redirected output.
From reading Opus' documentation, it seems there is native support only for creating hard-links, not for something like I described above.
Considering scripting, do you think it would be possible to do that operation (update hard-link stream, preserve link) using the blob object? Even for huge movie files? (If the blob is read all to memory, I think it won't be suitable.)
If not, do you have any suggestion of alternative?