#1 Ajouté par Shinigamiphobos(arispotle) il y a 1 décénie Reporter | Citer
#2 Ajouté par Nonea il y a 1 décénie Reporter | Citer
#!/bin/bash# Ryzom likes to find the default config in the directory it's run from.cd /opt/ryzom# If the client crashes or is shut down without a chance to save, you lose# some settings.date=$(date +"%Y%m%d %H-%M")echo "Will be backing up to $PWD/$date"mkdir -p "backup/$date"cp save/*.icfg save/*.xml save/*.pack save/log_*.txt "backup/$date"cd backuptar -cjf "$date".tbz2 "$date" && rm -r "$date"cd .../ryzom_client
Dernière édition par None (il y a 1 décénie).
powered by ryzom-api