Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 07:51:06 +0200
From:      "Michael Nottebrock" <michaelnottebrock@gmx.net>
To:        <bsd-freak@mbox.com.au>, <freebsd-questions@freebsd.org>
Subject:   Re: Renaming multiple files to lowercase
Message-ID:  <01ce01c0b8dd$6a1de080$0508a8c0@lofi.dyndns.org>
References:  <2748aa2709c1.2709c12748aa@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: <bsd-freak@mbox.com.au>
Subject: Renaming multiple files to lowercase


> Hiya all,
> 
> How do I quickly and easily [...]
> mv *HTM to *htm

A bit of one-line-script-magic will do the trick.

Issue 

for i in *.HTM; do mv $i `basename $i .HTM`.htm; done


Greetings,

Michael Nottebrock


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?01ce01c0b8dd$6a1de080$0508a8c0>