Advanced

Rename multiple files to another extension in Linux

Posted by gg234 on · 2 comments
debianadmin.com
Mail this story
Print this story

Rename multiple files to another extension in Linux

Let us say that you want to rename all of your “.php5″ files to “.php” files. You can use for loop.

Full Story

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux, Ubuntu

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (2)

Just use gprename.

Works perfectly and since you get to look at the results first, is rather more foolproof than the suggested method, especially for those not used to writing scripts...
What about krename? :)

Personally, I use the command-line rename. A force of habit, I suppose, as I have krename installed and just can't remember that a GUI exists ;)

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post