Rename archives

Asked by cfwelc

I want to rename some music archives. I just want to remove the begging of them.
For example:
'Artist - music 1.mp3' to 'music 1.mp3'

How should I write the command on Terminal?
Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
André Gondim (andregondim) said :
#1

You can do this with:

mv Artist - music 1.mp3 music 1.mp3'

Like this!

Revision history for this message
Max Schukin (schukin) said :
#2

Try this:
mv "Artist - music 1.mp3" "music 1.mp3"

Revision history for this message
cfwelc (christian-fw) said :
#3

Tanks, but i want to rename not just one archive.

'Artist - music 1.mp3' to 'music 1.mp3';
'Artist - music 2.mp3' to 'music 2.mp3';
'Artist - music 3.mp3' to 'music 3.mp3';
'Artist - music 4.mp3' to 'music 4.mp3';
'Artist - music 5.mp3' to 'music 5.mp3';
...

Revision history for this message
Max Schukin (schukin) said :
#4

I hope this tutorial will help you:
http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/mass-rename.html

PS: Why Terminal? There are many programs for mass renaming in "Add/Remove...".

Can you help with this problem?

Provide an answer of your own, or ask cfwelc for more information if necessary.

To post a message you must log in.