#!/bin/bash # Sauvegarde StarBound vers NextCloud (à lancer dans ~/.steam/steam/steamapps/common/Starbound/) archivename=`date +%Y-%m-%d_%Hh%M`-StarBound.7z echo "Backup de StarBound vers NextCloud ($archivename)..." 7z a -mx=9 "$archivename" ./player/ ./universe/ rclone -v --stats=1s copy "$archivename" nc:jeux-sauvegardes/StarBound/ echo "Pressez ENTRÉE" read