This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Option to copy original when dropping symbolic link

64

Votes
68
4
Tags: dolphin dolphin dolphin
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
When you drag and drop a file or folder in dolphin you get the option to copy, move, or link the file. However, if the file or folder you are dragging and dropping is a symbolic link, it would also be nice if we got an option to copy the original file or folder (the file or folder it links to). This is useful in general, but especially if you are dropping a symbolic link on a removable device (where the symbolic link won't work on another computer) or a filesystem that does not support symbolic links (which will just fail during the copy or move process).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
peje
Registered Member
Posts
9
Karma
0
OS
Really misses this option. Been burned by this several times, copying only the symbolic link and not the real file.
User avatar
arkascha
Registered Member
Posts
192
Karma
0
OS
Fine idea, makes totally sense.

I would like to add another thought:
What about a "resolve link" option to replace an existing symbolic link with its target ?
Situation: you visualize a folder that holds a symbolic link, for axample in a file manager. Now you realize, that you want to have the original file instead, the file the link points to. This might be because we are watching a removable medium as described above. or because you accidentially copied a link, or because whyever.
The new option "resolve link" should be offered when you right click the entry. In addition to a "copy to", "delete" etc there should be a "resolve link", only shown for symbolic links, of course.

I know, this is a slightly different aspect. But nevertheless it is close to the motivation of the original idea, so I tought it makes sense to add it here.
Though on second thought the implementation of both aspects might have to be done at different places:
the original idea has to be coded in the kdelibs, since the actions offered are a core part of KIO and the protocols installed (kio slaves). The second aspect might be implemented as a simple service menu.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]