Last Epoch – Auto Backup of Your Saves (Linux)

Auto Backup (Zip Archive) of Your Saves in Last Epoch (Linux)

  • Create a file “stcript.sh”
  • Copy this script:
#!/bin/bash

#steam ID of the game
steam_id=899770

#name of game (name for archive)
game_name="last_epoch"

#path to folder with SAVE files of the game
folder_path='/home/xeofox/.config/unity3d/Eleventh Hour Games/Last Epoch'

#path to the folder for storing your archives
backup_path='/mnt/500gb/backup/le'


d_time=$(date +%F_%T)
zip -r "$game_name-$d_time.zip" "$folder_path"
mv "$game_name-$d_time.zip" "$backup_path"
exec steam steam://"rungameid/$steam_id"
  • In the folder_path line, specify the path to the “…/Eleventh Hour Games/Last Epoch” folder, where the save files (for sample path on my PC)
  • In the backup_path line, specify the path of the folder where the archives will be stored (for sample path on my PC)
  • Save this file.
  • Now… every time we start the game by using this script, we have a copy of our saves.

P.S.: The script can be easily changed to another game. Need to change the steam_id (and folder path).

Originally posted by Xeofox

Be the first to comment

Leave a Reply

Your email address will not be published.


*