Re: filename conversion
*- On 16 Feb, caa@bficgroup.com wrote about "filename conversion"
> hello everyone,
> i just uploaded some 800++ files to my debian box (from a windoze box) and found out that all filenames had been transformed to their uppercase equivalent ...
> anybody knows how do i convert all these files back to their lowercase equivalent while keeping the numbers and the dots intact ?
> TIA,
> chad
>
>
Install the mmv package and read the man page, then issue the command:
mmv -n '*' '#l1'
which will show you what it will do without actually doing it(-n
option). If it is doing what you want then remove the -n and run it.
As an example:
%mmv -n '*' '#l1'
AMM.M -> amm.m
PROP_IN.M -> prop_in.m
STARTP.M -> startp.m
%mmv -v '*' '#l1'
AMM.M -> amm.m : done
PROP_IN.M -> prop_in.m : done
STARTP.M -> startp.m : done
--
Brian
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
- unknown
Mechanical Engineering bservis@usa.net
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: