Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2004, 02:09 PM   #1
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Rep: Reputation: 30
Renaming files in one go

Right how can I converts all .htm file to .html file all at once thru command line. I have all files in one directory.
I mean the mv *.htm to *.html
Old 01-12-2004, 02:16 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at "rename":
man rename


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
renaming multiple files linuxhippy Slackware 10 01-21-2011 02:53 AM
Renaming multple files.... maginotjr Slackware 4 06-04-2006 11:09 AM
bash help renaming files kahn Programming 6 06-16-2005 08:15 AM
Renaming lots of files Tuttle Linux - General 4 11-18-2004 12:15 PM
renaming batch of files linux_ub Linux - Newbie 6 10-27-2004 10:41 PM

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration