ls>files.txt
while read line; do newfile=`echo $line | cut -d'-' -f2- | sed 's/^ //g'`; mv "$line" "$newfile"; done <files.txt
=================================
mobigesture@sree MINGW64 /w/lyric
$ ls
'5 Seconds of Summer - Girls Talk Boys (From the _Ghostbusters_ Original Motion Picture Soundtrack).lrc' 'Linkin Park - Numb.lrc'
'50 Cent - Ayo Technology.lrc' 'Little Mix - Black Magic.lrc'
'AC DC - Back In Black.lrc' 'little mix - Hair.lrc'
'acdc - highway to hell.lrc' 'Little Mix - Love Me Like You.lrc'
'acdc - thunderstruck.lrc' 'Little Mix - No More Sad Songs.lrc'
'Adele - Hello.lrc' 'Little Mix - Secret Love Song.lrc'
'Adele - Send My Love (To Your New Lover).lrc' 'Little Mix - Shout Out to My Ex.lrc'
'Adele - Someone Like You.lrc' 'Little Mix - Touch.lrc'
'Adele - Water Under the Bridge.lrc' 'Lost Frequencies - Reality (feat. Janieck Devy).lrc'
'Adele - When We Were Young.lrc' 'Louisa Johnson - So Good.lrc'
'Alan Walker - Faded.lrc' 'Luis Fonsi - Despacito.lrc'
'Alesso - Falling.lrc' 'Lukas Graham - 7 Years.lrc'
'Alle Farben - Please Tell Rosie (feat. YOUNOTUS) [OFFICIAL VIDEO].lrc' 'M.O - Who Do You Think Of.lrc'
'Amy Shark - Adore.lrc' 'Machine Gun Kelly - Bad Things (With Camila Cabello).lrc'
'Andy Grammer - Honey, I'\''m Good.lrc' 'Major Lazer - Lean On (Tiesto & MOTi Remix).lrc'
'Anne-Marie - Alarm.lrc' 'Major Lazer - Light it Up (Remix) (feat. Nyla and Fuse ODG).lrc'
'Aqua - Barbie Girl.lrc' 'Major Lazer - Run Up (feat. PARTYNEXTDOOR & Nicki Minaj).lrc'
'Ariana Grande - Focus.lrc' 'Mark Ronson - Uptown Funk (feat. Bruno Mars).lrc'
'AURORA - Half the World Away.lrc' 'Marlon Roudette - When The Beat Drops Out.lrc'
'Avicii - The Nights.lrc' 'Maroon 5 - Cold (feat. Future).lrc'
'Avicii - Wake Me Up.lrc' 'Maroon 5 - Don'\''t Wanna Know (feat. Kendrick Lamar).lrc'
'Avril Lavigne - Girlfriend.lrc' 'Martin Garrix & Bebe Rexha - In the Name of Love.lrc'
'Band Aid - Do They Know It'\''s Christmas.lrc' 'Martin Garrix & Dua Lipa - Scared To Be Lonely.lrc'
'Bastille - Good Grief.lrc' 'Martin Solveig - All Stars (feat. Alma).lrc'
'Ben Haenow - Second Hand Heart (feat. Kelly Clarkson).lrc' 'Matoma & Becky Hill - False Alarm.lrc'
'Big Sean - Bounce Back.lrc' 'Meghan Trainor - Dear Future Husband.lrc'
'Birdy - Wings.lrc' 'migos - Bad and Boujee (feat. Lil Uzi Vert).lrc'
'Blonde & Craig David - Nothing Like This.lrc' 'Mike Perry - The Ocean (feat. Shy Martin).lrc'
'Bob Marley - Is This Love.lrc' 'Mike Posner - I Took A Pill In Ibiza (SeeB Remix).lrc'
'Bon Jovi - Livin'\'' on a Prayer.lrc' 'Milow - Howling at the Moon.lrc'
'Boney M - Brown Girl In The Ring.lrc' 'Mr. Probz - Waves (feat. Chris Brown& T.I) [Robin Schulz Remiz].lrc'
'Boney M - Mary'\''s Boy Child_oh My Lord.lrc' 'Natalie La Rose - Around the World (feat. Fetty Wap).lrc'
'BONEY M - RIVERS OF BABYLON.lrc' 'Nathan Sykes - Famous.lrc'
===========================================
No comments:
Post a Comment