6
2
In linux exist the rename
command, for rename a set of files with regular expresions.
rename 's/prefix_//' *.jpg
if I search in the cygwin package I find the renameutils
package, but this don't install the the rename command, Install qmv and other similars.
How I can install rename
in cygwin ?
Definitely helpful, but this doesn't explain how to install or use
rename
in the environment. – jsleuth – 2016-08-01T18:04:36.7331@jsleuth, How to install it is in the first sentence of my answer. You have to use the cygwin installer and select the
util-linux
package. The original question provides example usage and does not ask how to use it once it is installed. One would have to assume the OP already knows how to use the command. – Drew Chapin – 2016-08-01T22:31:30.860I believe it is clear that the OP is looking for the Perl-based
rename
, the one allowing the use of regular expressions. At least, I am. Therename
fromutil-linux
does not accept Perl-like substitutions. – simlev – 2019-05-10T14:02:18.250