[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid unix

*-Martin Bialasinski (24 Jul)
| mmv is cool, but has no "lowercase" function.

>From the mmv man page:

       To convert the string matched by a wildcard to either low­
       ercase  or  uppercase  before  embedding  it in the target
       name, insert 'l' or 'u', respectively, between the '#' and
       the string of digits.


% mmv -r -v "[A-Z]*" "#l1#l2"
LF441.DAT -> lf441.dat
TEXT.TXT -> text.txt


Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis

Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: