Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 18:25:07 -0700
From:      "Jonas" <jonas@netwood.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   How do I change the extensions on a slew of files
Message-ID:  <024201c37283$60b7b400$0800a8c0@master>
In-Reply-To: <web-16293600@gmsi1.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello Know-It-Alls,

If I have a directory with a whole slew of files with the same file
extension, for example:

1-1-1.inc
1-1-2.inc
1-1-3.inc
etc.

What command can I use to change the file extension - but keep the file
name the same - in one swell swoop? The equivalent command in Windows
would be:

C:\>ren *.inc *.htm 

Jonas Fornander - System Administrator
Netwood Communications,LLC - www.netwood.net
Find out why we're better - 310-442-1530
 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024201c37283$60b7b400$0800a8c0>