On Thu, 6 Oct 2022 at 06:40, Dale <[email protected]> wrote: > > Howdy, > > This may not exist. If not, oh well. Sometimes when I'm moving files > with Dolphin, I need a added feature. I tend to use split panes when I > copy or move files. Quite often, I want to move files from one location > to another and the new file use the same name as the old file I'm > replacing. What I *wish* I could do, move the file from one pane to the > other and drag the new file on top of the old file and it replace it > with the name of the old file. As it is now, I have to bring up > properties, select the name of the file, while not including the > extension, and copy it, then close that window and open properties on > the new file, highlight the old name, paste new name, close window, copy > new file over and either delete old file or tell it to overwrite the > file. Sometimes it has a different extension and I have to delete > instead. > > It would be a lot faster if I could just drag it on top of file I want > to replace and either it be configured to use name of old file for new > file or me select in a pop up what I want to do. Basically, move and > drop instead of all the properties, copy, repeat with paste on new file > and then move and maybe delete a file as well. I went to the services > window and looked for anything I could add but I didn't see anything > that would do what I describe but it could be a hidden feature of one > that isn't obvious. > > Has anyone ever seen something that does this? While I use dolphin, I > may could use another tool if it has this feature.
This is probably a case of Dolphin not being a good tool, unless it has a built-in command-line? $ mv newfile oldfile will overwrite the old file in place with the new file with the name of the old file. In my file manager, emelfm2 (sadly not in tree any more), which has a built-in command-line there are at least two ways I could solve this. 1. Equivalent to your method - Select old file, F2 (rename), ctrl+c, esc, select new file in other pane, shift+F6 (move with rename), ctrl+v, enter 2. Equivalent to explicit command-line on the built-in terminal - mv %f %F (referencing selected file(s) in the active and inactive pane respectively) I know there are many file managers with a built-in terminal, so maybe others have similar possible solutions. I saw someone mention midnight commander which I believe is one. Regards, Arve

