Skip to content

Instantly share code, notes, and snippets.

@gotbadger
Created March 18, 2018 21:22
Show Gist options
  • Save gotbadger/b9f7e30f3d3c509d621c049ce1edf3f6 to your computer and use it in GitHub Desktop.
Save gotbadger/b9f7e30f3d3c509d621c049ce1edf3f6 to your computer and use it in GitHub Desktop.
Fix Steam on OSX case sensitive file systems
#!/bin/bash
## Try to use following solution.
## ------------------------------------
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 *.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/servers; ls *.res | 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