Hi!

I'm missing the http://linux.die.net/man/1/rename command in
OpenBSD. Preferably with regex support like in Debian. Is
there a similar tool or a port containing this tool? I
couldn't find any.

I often use this to do things like:

rename .jpg .jpeg *.jpg

or

$ ls
10_bulb 11_funny 12_things 1_foo 2_bar 3_blub ... 9_foobar
$ rename '' 0 ?_*
$ ls
01_foo 02_bar 03_blub ... 09_foobar 10_bulb 11_funny 12_things

to let ls sort the files numerically.


Cheers,

Christopher

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to