commit 7e216cfca29950bed0f17d4f6c32b88a9505e1cd parent fce86b1906d45b0dc68ec42f7b82f89088fb431c Author: Keith Bloemer <32459398+GuitarML@users.noreply.github.com> Date: Fri, 4 Jun 2021 13:40:33 -0500 Update update_models.bat Diffstat:
M | scripts/update_models.bat | | | 15 | ++++++++------- |
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/scripts/update_models.bat b/scripts/update_models.bat @@ -11,20 +11,21 @@ :: USER INPUTS -set "rpi_ip_address=127.0.0.1" # Update this field with the Raspberry Pi's IP address +:: Update this field with the Raspberry Pi's IP address +set "rpi_ip_address=127.0.0.1" -:: Edit <YOUR_USERNAME> with your Windows Username +:: Typical Windows 10 Path, edit <YOUR_USERNAME> with your Windows Username +set "host_model_path=C:/Users/<YOUR_USERNAME>/AppData/Roaming/GuitarML/NeuralPi/tones" -set "host_model_path=C:/Users/<YOUR_USERNAME>/AppData/Roaming/GuitarML/NeuralPi/tones" ::Typical Windows 10 Path - -set "rpi_model_path=/home/mind/.config/GuitarML/NeuralPi/tones" :: Rpi with Elk OS Path (shouldn't need to change) +:: Rpi with Elk OS Path (shouldn't need to change) +set "rpi_model_path=/home/mind/.config/GuitarML/NeuralPi/tones" ############################################################################# -# Copy all models from local computer to Rpi +:: Copy all models from local computer to Rpi scp %host_model_path%/*.json root@$rpi_ip_address:%rpi_model_path%/ -# Copy all models from Rpi to local computer +:: Copy all models from Rpi to local computer scp root@%rpi_ip_address%:%rpi_model_path%/*.json %host_model_path%/