grep -v "#EXTINF:" All.m3u | sed 's#../##'g
I'm using the line above to try and make the playlists that I export from Banshee compatible with my digital music player. When I run the sed portion of this script I'm trying to remove the portion of the path up to where the music directories actually start. I jus want the .m3u file to be a list of lines containing Artists/Album/Title.flac
But when I run this script it's removing all of the forward slashes /, not just the beginning ../
Can anyone tell me why it's removing all of the forward slashes and what I might be able to do about it? Thanks.