Skip to content

Instantly share code, notes, and snippets.

@marco-souza
Last active February 1, 2020 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marco-souza/a94a672851ef98c630fa43e676aef914 to your computer and use it in GitHub Desktop.
Save marco-souza/a94a672851ef98c630fa43e676aef914 to your computer and use it in GitHub Desktop.
Use external HD as Steam Storage Disk

Steam over an external HD

Why?

When you have small SSD disk, you can't be a gammer on linux :/

A simple way to solve that is to use this script to move you steam storage folter to an external HD, to install as many games as you want!

Usage

Just copy the mount-steam.sh script and run it like:

sh mount-steam.sh <Your external HD name>
sh mount-steam.sh my_external_hd 

WARNING: After that you will only be able to use steam with your external HD connected!

#! /bin/sh
STEAM_DIR=/home/$USER/.local/share/Steam
STEAM_LINK=/run/media/$USER/$1/steam
mv - $STEAM_DIR $STEAM_LINK
ln -s $STEAM_LINK $STEAM_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment