I have a directory with ogg file, and want to change file names starting with i-.
What can I do? For instance, doing rename 's/i-nuovi/nuovi/g' * gave me
Unknown option: marino-barreto-cinque-minuti-ancora.ogg
Usage:
rename [ -h|-m|-V ] [ -v ] [ -n ] [ -f ] [ -e|-E perlexpr]*|perlexpr
[ files ]
Something is wrong, but cannot track it down. How can I ensure that I watch i- from the beginning?
renameimplementations. Which one are you using? Have you triedrename -e 's/i-nuovi/nuovi/g' ./*? – xiota Jan 21 '23 at 04:42-i, but the body saysi-. The first could cause problems. The second shouldn't. – xiota Jan 21 '23 at 04:43-andrenameinterpreted that as an option. – Vera Jan 21 '23 at 05:03renameis version 0.20 – Vera Jan 21 '23 at 05:16