Does openSUSE package perl-rename anywhere?
All, Simon's question brought up another -- the substitution he wanted to do would be trivial with perl-rename using a regex substitution. However after using zypper to search for "perl-rename", "rename", etc.. nothing but gprename appears. Does opensuse package perl-rename? If so where? Both the rename from util-linux and perl-rename can be installed side-by-side, simply using "perl-rename" as the executable name for it to prevent name collision (or better letting the user choose under the alternatives structure) -- David C. Rankin, J.D.,P.E.
On Mon, 16 Jan 2023 20:11:58 -0600, David C. Rankin wrote:
Does opensuse package perl-rename? If so where?
I have it in TW, it's called perl-File-Rename. According to software.opensuse.org, there's also an 'experimental' package for Leap 15.4: https://software.opensuse.org/package/perl-File-Rename ~> rpm -ql perl-File-Rename | grep bin /usr/bin/file-rename
On 1/17/23 03:30, Siard wrote:
On Mon, 16 Jan 2023 20:11:58 -0600, David C. Rankin wrote:
Does opensuse package perl-rename? If so where?
I have it in TW, it's called perl-File-Rename. According to software.opensuse.org, there's also an 'experimental' package for Leap 15.4: https://software.opensuse.org/package/perl-File-Rename
~> rpm -ql perl-File-Rename | grep bin /usr/bin/file-rename
Thank you! Was a bitch to finally get the repo and install, but thank God - perl-rename (a.k.a "file-rename") is installed :) -- David C. Rankin, J.D.,P.E.
On 2023-01-17 03:11, David C. Rankin wrote:
All,
Simon's question brought up another -- the substitution he wanted to do would be trivial with perl-rename using a regex substitution. However after using zypper to search for "perl-rename", "rename", etc.. nothing but gprename appears.
cer@Telcontar:~> opi rename 1. krename 2. renameutils 3. caja-rename 4. kde3-krename 5. perl-File-Rename 6. krename-lang 7. krename-debuginfo 8. krename-debugsource 9. renameutils-debuginfo 10. renameutils-debugsource 11. caja-rename-lang 12. texlive-biblatex-morenames 13. texlive-biblatex-morenames-doc 14. ExifRename 15. trinity-krename 16. ExifRename-lang 17. trinity-krename-debuginfo Pick a number (0 to quit): -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Le 17/01/2023 à 10:38, Carlos E. R. a écrit :
cer@Telcontar:~> opi rename 1. krename 2. renameutils
(...) don't forget the old "apropos" (search man pages title), that gives other options:
apropos rename
ifrename (8) - rename network interfaces based on various static criteria ldapmodrdn (1) - LDAP rename entry tool lvrename (8) - Rename a logical volume mmove (1) - move or rename an MSDOS file or subdirectory (...) :-) jdd -- mon serveur usenet: dodin.fr.nf c'est quoi, usenet? http://www.dodin.org/wiki/pmwiki.php?n=Usenet.Usenet
On 2023-01-17 13:39, jdd@dodin.org wrote:
Le 17/01/2023 à 10:38, Carlos E. R. a écrit :
cer@Telcontar:~> opi rename 1. krename 2. renameutils
(...)
don't forget the old "apropos" (search man pages title), that gives other options:
apropos rename
Certainly, I did that first. But it only works if whatever you want is installed, and it isn't in my system (perl-rename → perl-File-Rename) -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On Mon, 16 Jan 2023 20:11:58 -0600 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
All,
Simon's question brought up another -- the substitution he wanted to do would be trivial with perl-rename using a regex substitution. However after using zypper to search for "perl-rename", "rename", etc.. nothing but gprename appears.
Does opensuse package perl-rename? If so where?
Both the rename from util-linux and perl-rename can be installed side-by-side, simply using "perl-rename" as the executable name for it to prevent name collision (or better letting the user choose under the alternatives structure)
rename() is a perl built-in so it's not packaged separately. There are various perl scripts called various permutations of rename that complicate the situation even further.
participants (5)
-
Carlos E. R.
-
Dave Howorth
-
David C. Rankin
-
jdd@dodin.org
-
Siard