I have files nested in folders. In case the filename starts with a string that is repeated twice, I would like to change the filename to a name such that this string appears only once.
For example:
- Rename "Dirty Projectors - Dirty Projectors - Search For Life.mp3" to "Dirty Projectors - Search For Life.mp3"
- Rename "Eefje de Visser - Eefje de Visser - Bitterzoet.mp3" to "Eefje de Visser - Bitterzoet.mp3"
- Keep "Feng Suave - Maybe Another Time.mp3" as it is.
How can I do this using command-line in Linux?