[Tutor] renaming files within a directory
davidwilson at Safe-mail.net
davidwilson at Safe-mail.net
Sun Jul 26 16:33:31 CEST 2009
Hello,
I have a directory containing svg/Flag_of_United_States.svg etc...
Flag_of_the_Seychelles.svg
Flag_of_the_Solomon_Islands.svg
Flag_of_the_United_Arab_Emirates.svg
Flag_of_the_United_Kingdom.svg
Flag_of_the_United_States.svg
Flag_of_the_Vatican_City.svg
Also I have a CSV file like
"us", "United States"
"es", "Spain"
....
How can I rename the svg files so that they become:
flag-us.svg
flag-es.svg
etc..
David
More information about the Tutor
mailing list