English French German Spanish Russian
Translating Bash Script to Windows and Mac - Mutual GNU / Linux - Ryzom Community ForumHomeGuest

Mutual GNU / Linux

Translating Bash Script to Windows and Mac

Hm, with WinRAR under Windows it is something like...
REM Ryzom files backup script
echo off

REM Settings
set LEVEL="5"

REM Execution
echo "Starting backup commands..."
"C:\Program Files\WinRAR\Rar.exe" a -ag -m%LEVEL% %DST%\ryzom_backup-.rar %SRC%

REM Done
echo "Done!"
echo on
Please note I didn't test the script, it is just a draft. I had to write a backup script some time ago (that's why WinRAR but it is similar with any compress tool having command line options). But I am not any Windows user. Also no idea where user files for Ryzom client are stored, I would guess in users home directory somewhere (I am sure you can find this information here on forum :)).
Show topic
Last visit Wed Jun 26 09:58:26 2019 UTC

powered by ryzom-api