Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dolphin and adding a option, if it exists.
Date: Thu, 06 Oct 2022 08:11:10
Message-Id: CAJjrzcVJtM8Fv9jGeK7zDySwYnbYUP0KEyU1qXZww4_1UENNjw@mail.gmail.com
In Reply to: [gentoo-user] Dolphin and adding a option, if it exists. by Dale
1 On Thu, 6 Oct 2022 at 06:40, Dale <rdalek1967@×××××.com> wrote:
2 >
3 > Howdy,
4 >
5 > This may not exist. If not, oh well. Sometimes when I'm moving files
6 > with Dolphin, I need a added feature. I tend to use split panes when I
7 > copy or move files. Quite often, I want to move files from one location
8 > to another and the new file use the same name as the old file I'm
9 > replacing. What I *wish* I could do, move the file from one pane to the
10 > other and drag the new file on top of the old file and it replace it
11 > with the name of the old file. As it is now, I have to bring up
12 > properties, select the name of the file, while not including the
13 > extension, and copy it, then close that window and open properties on
14 > the new file, highlight the old name, paste new name, close window, copy
15 > new file over and either delete old file or tell it to overwrite the
16 > file. Sometimes it has a different extension and I have to delete
17 > instead.
18 >
19 > It would be a lot faster if I could just drag it on top of file I want
20 > to replace and either it be configured to use name of old file for new
21 > file or me select in a pop up what I want to do. Basically, move and
22 > drop instead of all the properties, copy, repeat with paste on new file
23 > and then move and maybe delete a file as well. I went to the services
24 > window and looked for anything I could add but I didn't see anything
25 > that would do what I describe but it could be a hidden feature of one
26 > that isn't obvious.
27 >
28 > Has anyone ever seen something that does this? While I use dolphin, I
29 > may could use another tool if it has this feature.
30
31 This is probably a case of Dolphin not being a good tool, unless it
32 has a built-in command-line?
33 $ mv newfile oldfile
34 will overwrite the old file in place with the new file with the name
35 of the old file.
36
37 In my file manager, emelfm2 (sadly not in tree any more), which has a
38 built-in command-line there are at least two ways I could solve this.
39
40 1. Equivalent to your method
41 - Select old file, F2 (rename), ctrl+c, esc, select new file in other
42 pane, shift+F6 (move with rename), ctrl+v, enter
43
44 2. Equivalent to explicit command-line on the built-in terminal
45 - mv %f %F (referencing selected file(s) in the active and inactive
46 pane respectively)
47
48 I know there are many file managers with a built-in terminal, so maybe
49 others have similar possible solutions. I saw someone mention midnight
50 commander which I believe is one.
51
52 Regards,
53 Arve

Replies

Subject Author
Re: [gentoo-user] Dolphin and adding a option, if it exists. Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Dolphin and adding a option, if it exists. Frank Steinmetzger <Warp_7@×××.de>