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

Re: Automate UPPER to lower case directory



On Tue, 20 Oct 1998, Anthony Landreneau wrote:

> Greetings,
> 	Trying to automate work done by some WIN95/NT people who don't understand
> upper/lower case.  I have a directory of files that are upper case and need
> to be brought to lower case. Does anyones have a program or script that
> could help me do about 400 files?

This has been asked here more than once, and I haven't seen the Midnight
Commander method mentioned. In mc, select the directory containing the files
and type + <return> <f6> \L* <return> and it's done.
         1111111111 2222 333 44444444

1 select all the files in the directory. You could modify the shell pattern.
2 move files.
3 \L means lowercase everything that follows, * matches the whole old-name.
  (the name of the opposite panel's directory will disappear when you hit \)
4 Do it.

It's quite a flexible general renaming tool.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Reply to: