Added a comment
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Simple script to backup savegames and roms to a network share on each game end/shut down
|
# Simple script to backup savegames and roms to a network share on each game end/shut down
|
||||||
|
# Save the file at /home/pi/.emulationstation/scripts/quit/ and it will run automatically on shutdown
|
||||||
|
|
||||||
BACKUPPATH='/mnt/megabyte/Retro Games/Roms/savegames/'
|
BACKUPPATH="/mnt/megabyte/Retro Games/Roms/savegames/"
|
||||||
LOCALPATH="/home/pi/RetroPie/roms/"
|
LOCALPATH="/home/pi/RetroPie/roms/"
|
||||||
|
|
||||||
# Search through folders for *.srm files
|
# Search through folders for *.srm files
|
||||||
@@ -10,5 +11,4 @@ LOCALPATH="/home/pi/RetroPie/roms/"
|
|||||||
|
|
||||||
find $LOCALPATH -name "*.srm" -type f -exec cp {} $BACKUPPATH \;
|
find $LOCALPATH -name "*.srm" -type f -exec cp {} $BACKUPPATH \;
|
||||||
|
|
||||||
|
|
||||||
# Exit
|
# Exit
|
||||||
Reference in New Issue
Block a user