Visit Jeremy's Blog.
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 05-24-2006, 06:53 AM   #1
Registered: Feb 2006
Distribution: kubuntu dapper
Posts: 61

Rep: Reputation: 15
a question about renaming files in mass!


I have 1000 movies i would like to mass rename in a strange way. I have txt files with the movie name as file name for each movie i own . the mpeg movie files are unnamed. does anyone know of a way to automate a filename transfer from a txt file to mpg file? for example i have satrwars.txt file and a 1.mpg file. i would like to transfer the filename so it would give me starwars.mpg. i would like to do it for all movies

thx alot in advance

Old 05-24-2006, 07:12 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
... the renna script demonstrates renaming multiple files with various rules. It won't be exactly what you want, you'll have to adjust the script to your purposes.

The rest of the tutorial is pretty helpful too.

You could also use perl "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 files TomalakBORG Linux - Newbie 4 12-24-2005 11:14 AM
Renaming files TomalakBORG Linux - Newbie 2 12-05-2005 05:13 PM
bash help renaming files kahn Programming 6 06-16-2005 08:15 AM
renaming files script. xushi Programming 4 10-10-2004 09:06 AM
Renaming files in one go saurya_s Linux - Software 1 01-12-2004 02:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:16 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
Open Source Consulting | Domain Registration