[SWLUG] Find And Replace.
Andrew Jenkins
adjenkins at gmail.com
Thu Jan 7 14:18:24 UTC 2010
Hi All,
OK guys, I've done this before using either "sed" or "grep" (or a
combination of)
and regular expressions but I just can't get it right this time.
I have a few thousand MP3 files which are all under a general "Music"
directory
but all within separate directories under that. At the moment they have
just a
'-' (dash) between the artist name and the track name. I would like them
to have
' - ' (space, dash, space) instead.
The only common factors of all file names are that mentioned above and
the .mp3
on the end.
e.g.
Asia-Aqua.mp3 -> Asia - Aqua.mp3
Any reg-ex experts out there?
Andy Jenkins
--
Microsoft have broken Volkswagen's world record: Volkswagen only made
22 million bugs!
More information about the Swlug
mailing list