cd binaries/data/mods/public/maps/tutorials/ find -type f -exec sh -c "echo '{}' | tr ' A-Z' '_a-z' | xargs svn mv '{}'" ";" cd ../skirmishes/ find -type f -exec sh -c "echo '{}' | tr -d '-' | tr -d '(' | tr -d ')' | tr ' A-Z' '_a-z' | tr -s '_' | xargs svn mv '{}'" ";" cd ../scenarios/ find -type f -exec sh -c "echo '{}' | tr -d '-' | tr ' A-Z' '_a-z' | tr -s '_' | xargs svn mv '{}'" ";" svn mv 'azure_coast.pmp' 'azure_coast_1.pmp' svn mv 'azure_coast.xml' 'azure_coast_1.xml' svn mv 'azure_coast(2).pmp' 'azure_coast_2.pmp' svn mv 'azure_coast(2).xml' 'azure_coast_2.xml' svn mv 'azure_coast(4).pmp' 'azure_coast_3.pmp' svn mv 'azure_coast(4).xml' 'azure_coast_3.xml' svn mv 'height_map_03.png' 'british_isles_heightmap.png' svn mv 'laconia_01.pmp' 'laconia.pmp' svn mv 'laconia_01.xml' 'laconia.xml' cd ../../../../../../