Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 1998 16:14:29 -0600
From:      Bill Hamilton <billh@finsco.com>
To:        Patrick Seal <patseal@hyperhost.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: lowercase filenames
Message-ID:  <368AA5C5.4A8FAD46@finsco.com>
References:  <Pine.BSF.4.05.9812301628490.866-100000@foobar.hyperhost.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You could write an awk script, making use of the tolower function.
It could use mv -i or whatever.


Patrick Seal wrote:
> 
> I have a directory with filenames like:
> FOO.xxx
> Bar.yyy
> hex.zzz
> 
> What would be the easiest way to convert them to lowercase (and possibly
> checking for existing lowercase counterparts before overwriting them)
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?368AA5C5.4A8FAD46>