Renaming multiple files in linux

Problem

You would like to rename multiple files, replacing some text with something else (like replacing Pixies_The with Pixies).

Solution

Install the rename utility

and replace the text as follows

Replacing spaces with underscores in linux busybox

Problem

You want to replace the spaces in filenames (ie in Brennan’s B2 system), that uses busybox and you do not have all the linux commands available.

Solution

Use the following in the directory with the files (ie flac files). At the moment this command only works in the directory that is being run.