Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
games:wine:diablo_2 [2024/03/03 19:33] – Sean Rhone | games:wine:diablo_2 [2024/03/06 22:45] (current) – Sean Rhone |
---|
| |
ls ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games/Diablo II' | ls ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games/Diablo II' |
tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' | tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' |
sync | sync |
notify-send 'Diablo II save data has been successfully archived and placed in the Downloads folder.' | notify-send 'Diablo II save data has been successfully archived and placed in the Downloads folder.' |
| |
* Creates ''{DATE}-manual-D2-Saves.tar.gz'' in ''~/Downloads'' | * Creates ''{DATE}-manual-D2-Saves.tar.gz'' in ''~/Downloads'' |
* :!: Will replace existing tarballs if this is done more than once on the same day | |
| |
tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz' | tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz' |
| |
==== Restore ==== | ==== Restore ==== |