Skip to content

Instantly share code, notes, and snippets.

@mul14
Created March 19, 2017 17:10
Show Gist options
  • Save mul14/a39236b5c52b48c65f33f7530ab71bd1 to your computer and use it in GitHub Desktop.
Save mul14/a39236b5c52b48c65f33f7530ab71bd1 to your computer and use it in GitHub Desktop.
Steam client issue when using "case sensitive file system on macOS"
#!/bin/sh
#----------------------------------------------------------------------------------------
# It works!
# https://steamcommunity.com/discussions/forum/2/282992646978253149/#c282992646985999495
#----------------------------------------------------------------------------------------
USER=$(whoami)
cd /Users/${USER}/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/public; ls *.res | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done
cd /Users/${USER}/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steam/cached/; ls *.res | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done
cd /Users/${USER}/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/friends; ls *.res | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done
cd /Users/${USER}/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/graphics; ls *.tga | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done
cd /Users/${USER}/Library/Application\ Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/servers; ls *.tga | while read line ; do file=$(echo $line | tr '[:upper:]' '[:lower:]'); mv $line $file; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment