selkhateeb / hardlink

a simple command-line utility that implements hardlinks on Mac OsX
489 stars 46 forks source link

Suggestion - List of all hard links #27

Open projetmbc opened 9 years ago

projetmbc commented 9 years ago

I do not know if I am dreaming or not but it could be useful to have the list of all hard links. Why ? This will avoid to loose some directory hard linked to others when we forget that.

selkhateeb commented 9 years ago

Unfortunately, I don't think this is possible. Hard links are not really supported in osx. This is a hack and I would be very careful using it. I personally choose not to use it unless I absolutely have to.

On Mon, Oct 26, 2015 at 11:21 AM, Christophe BAL notifications@github.com wrote:

I do not know if I am dreaming or not but it could be useful to have the list of all hard links. Why ? This will avoid to loose some directory hard linked to others when we forget that.

— Reply to this email directly or view it on GitHub https://github.com/selkhateeb/hardlink/issues/27.

Thanks Sam Elkhateeb NanoSN Cloud Computing Service Inc.

jamespayne commented 9 years ago

What about somehow modifying the metadata of the folder on hard link creation. For example, adding a note saying this is the original folder and this is the linked folder in the notes section which is available by doing command + i on a folder?

I don't know whether this is possible but just an idea.

projetmbc commented 9 years ago

@selkhateeb : is there other dangers with hardlinks that several applications trying to modify the same file ?

selkhateeb commented 9 years ago

It should be the same as modifying the same file from multiple applications without a hard link.

On Tue, Oct 27, 2015 at 4:48 AM, Christophe BAL notifications@github.com wrote:

@selkhateeb https://github.com/selkhateeb : is there other dangers with hardlinks that several applications trying to modify the same file ?

— Reply to this email directly or view it on GitHub https://github.com/selkhateeb/hardlink/issues/27#issuecomment-151436774.

Thanks Sam Elkhateeb NanoSN Cloud Computing Service Inc.

projetmbc commented 9 years ago

Ok, thanks.