[opensuse] Creating links in file browser
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I wonder if there is some file browser that would allow to select a number of files, and then create a hard-link of all of them in another directory. I have tried dolphin, nautilus, thunar, gnome commander. Some offer creating soft-links, I want hard links this time. Even Midnight Commander can't: it creates hard link only for the currently selected file only, and asks for destination name. Single file and prompt, so no use for this. Nautilus, for instance, can create soft-links on the selection, but then can not select a bunch of files by pattern. I have to select all, then delete by pattern using something else. Thunar can select by pattern, but not create links of any kind instead of copy. No tool is complete yet? Then Nautilus goes nuts, processing my directory that I'm trying to link, which is full of photos, doing the preview of a thousand photos. Both on the original and the copy. Then tracker-store goes nuts as well, at 100% CPU. All my 4 cores are busy :-( - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltPHVIACgkQtTMYHG2NR9X0kQCfSGOdzslaw3kqnWKqRONYZmV5 GJEAnjsB6N7NgMzIh3Qv5o/9xQjbUWbr =DTeG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/07/18 06:58 AM, Carlos E. R. wrote:
I wonder if there is some file browser that would allow to select a number of files, and then create a hard-link of all of them in another directory.
I have tried dolphin, nautilus, thunar, gnome commander. Some offer creating soft-links, I want hard links this time.
IIR Konqueror, the old KDE general browser & swiss-army knife of file management now relegated to be a web browser, could have custom menus associated with clicking on selected files or groups of files. I don't recall if linking wsz a built-in function. I never tried it. But the KDE developers have crippled it, made Dolphin the file browser, which is not so capable, and made the core of Dolphin the core of Konqueror in file mode. While KDE as a whole moved for ward, this was certainly a retrograde change. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/18/2018 08:09 AM, Anton Aylward wrote:
While KDE as a whole moved for ward, this was certainly a retrograde change.
+1 It's amazing how many "improvements" tend to be the opposite. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/18/2018 12:58 PM, Carlos E. R. wrote:
I wonder if there is some file browser that would allow to select a number of files, and then create a hard-link of all of them in another directory.
I have tried dolphin, nautilus, thunar, gnome commander. Some offer creating soft-links, I want hard links this time.
Even Midnight Commander can't: it creates hard link only for the currently selected file only, and asks for destination name. Single file and prompt, so no use for this.
Nautilus, for instance, can create soft-links on the selection, but then can not select a bunch of files by pattern. I have to select all, then delete by pattern using something else.
Thunar can select by pattern, but not create links of any kind instead of copy.
No tool is complete yet?
Then Nautilus goes nuts, processing my directory that I'm trying to link, which is full of photos, doing the preview of a thousand photos. Both on the original and the copy.
Then tracker-store goes nuts as well, at 100% CPU. All my 4 cores are busy :-(
This is not about a GUI tool, but as you said that you have thousands of files, it probably doesn't matter. What about simply: $ cp -rl photos photos-hardlinked ? You could add the -v option to see the progress. Have a nice day, Berny
On 2018-07-19 01:41, Bernhard Voelker wrote:
On 07/18/2018 12:58 PM, Carlos E. R. wrote:
This is not about a GUI tool, but as you said that you have thousands of files, it probably doesn't matter. What about simply:
$ cp -rl photos photos-hardlinked
?
You could add the -v option to see the progress.
Ah! That's cute, thanks :-) I made do this time with softlinks created by Nautilus. I found one photo viewer that is unable to display a symlinked photo, Ristreto Image Viewer. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Hello, On Wed, 18 Jul 2018, Carlos E. R. wrote:
Even Midnight Commander can't: it creates hard link only for the currently selected file only, and asks for destination name. Single file and prompt, so no use for this.
Put this into your mc user-menu file ==== + t t L Hardlink tagged files to other dir set %u while [ -n "$1" ] do ln "./$1" "%D/$1" shift done ==== HTH, -dnh -- A funny symbol that I can't read has just been input. Continue, and I'll forget that it ever happened. -- a TeX message -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-07-19 04:46, David Haller wrote:
Hello,
On Wed, 18 Jul 2018, Carlos E. R. wrote:
Even Midnight Commander can't: it creates hard link only for the currently selected file only, and asks for destination name. Single file and prompt, so no use for this.
Put this into your mc user-menu file
==== + t t L Hardlink tagged files to other dir set %u while [ -n "$1" ] do ln "./$1" "%D/$1" shift done ====
I saved this message to try it later, then I forgot. Thunderbird plays tricks on me like erasing marks. Or rather, my ISP does. I have tried the trick just now and it works :-) Thanks -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (5)
-
Anton Aylward
-
Bernhard Voelker
-
Carlos E. R.
-
David Haller
-
James Knott