https://bugs.kde.org/show_bug.cgi?id=328709

--- Comment #18 from Méven Car <meve...@gmail.com> ---
(In reply to Pedro Alves from comment #17)
> Count me in as another one wanting this in Dolphin.  reflinks are a separate
> matter.  I want to be able to create hard links.  I'm a heavy command line
> user, but for this use case, dropping from Dolphin to the console _just_ for
> creating a hard link is painful.  Also, I think Dolphin should support
> recursively hardlinking directories, just like (GNU) "cp -al" does.
> 
> Someone in the original forum mentioned that with hard links users can end
> up confused, and edit a hardlinked file, thinking they are editing a copy. 
> Well, that shows something else that KDE tools like kate, etc. could do --
> warn that you're editing a hard linked file (simply checkck the file's link
> count is > 1).  Dolphin itself could have some sort of visual indication for
> files that are hard linked, like print their icon background in a different
> color, have a link count column in the details info, or something.
> 
> Happy KDE user since 1.x...

Given how niche and technical this use case is, I would encourage potential
users of this to send an MR.

To impl this as a drop option natively:
Our copyjob.h would need to support a `hardlink()` function, then dropJob would
need to add a new DropAction.

This can also be implemented as a kio_dnd plugin
https://api.kde.org/frameworks/kio/html/classKIO_1_1DndPopupMenuPlugin.html

I would expect a way to disable the drop action.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to