You are not logged in.
Pages: 1
Hi,
common Linux distros seem to have a -n option for testing a rename syntax but in Arch there is only -v according to man?
I want to rename using regexp syntax, should I use some alternatives than the default rename command?
Offline
vidir is clear and easy.
You're talking about perl-rename:
https://wiki.archlinux.org/index.php/Li … h_renamers
Offline
On Ubuntu, rename is an "alternative" that can be changed, the default is to use /usr/bin/prename, which as Procyon said is perl-rename. Arch and Scientific Linux use util-linux's rename.
You should use something else if you're hoping to make a distro-agnostic script.
Last edited by WorMzy (2013-03-21 11:39:03)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1