Script to Mirror SD Card to USB Stick?
-
Currently RetroPie automatically copies files (roms and configs) from a USB stick to the Pi. Is it possible to disable this process so that it happens on command rather than automatically?
Also is it possible to reverse the process so that the USB stick can be used to mirror the contents of the Pi, or at least select folders from it, either automatically or ideally on command?
-
@George-Spiggott said in Script to Mirror SD Card to USB Stick?:
Currently RetroPie automatically copies files (roms and configs) from a USB stick to the Pi. Is it possible to disable this process so that it happens on command rather than automatically?
Yes, disable the
usbmount
service and the synchronization will not happen automatically.Also is it possible to reverse the process so that the USB stick can be used to mirror the contents of the Pi, or at least select folders from it, either automatically or ideally on command?
Yes, it's possible, but there's no provision in the RetroPie scripts for this kind of scenario.
When you want to keep your ROMs on an external drive, you create a
retropie-mount
folder on it and RetroPie would sync the ROMs from the SDCard to the disc, then it will mount the disc so you can use it.If dont' want to use the external disc for the ROMs, but just synch to it, then you'll have to create a script to do it. Both synchronization methods (USB to card and vice-versa) use the
rsync
command, you can easily create 2 scripts to do this synchronization and add them under theretropiemenu
system so you can call them directly from Emulationstation.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.