commit ca1f413315ded0739c5116fa22644e245e32fb3d
parent 93073d55f04dbd9a153e2fb9d620fa4cf109efdf
Author: Keith Bloemer <32459398+GuitarML@users.noreply.github.com>
Date: Mon, 11 Oct 2021 08:21:47 -0500
Update update_models.sh
Resolves issue #15
Diffstat:
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/scripts/update_models.sh b/scripts/update_models.sh
@@ -14,26 +14,24 @@
rpi_ip_address=127.0.0.1 # Update this field with the Raspberry Pi's IP address
-
-# Uncomment the appropriate path for your computer:
-
+# Directory paths for host computer (json models and IRs)
host_model_path=~/Documents/GuitarML/NeuralPi/tones #Typical Mac/Linux Path (shouldn't need to change)
host_ir_path=~/Documents/GuitarML/NeuralPi/irs #Typical Mac/Linux Path (shouldn't need to change)
-
+# Directory paths for Raspberry Pi (json models and IRs)
rpi_model_path=/home/mind/Documents/GuitarML/NeuralPi/tones # Rpi with Elk OS Path (shouldn't need to change)
rpi_ir_path=/home/mind/Documents/GuitarML/NeuralPi/irs # Rpi with Elk OS Path (shouldn't need to change)
#############################################################################
echo "Copying all models from local computer to Rpi.."
-scp $host_model_path/*.json root@$rpi_ip_address:$rpi_model_path/
+scp $host_model_path/*.json root@$rpi_ip_address:$rpi_model_path/
echo "Copying all IRs from local computer to Rpi.."
-scp $host_ir_path/*.json root@$rpi_ip_address:$rpi_ir_path/
+scp $host_ir_path/*.wav root@$rpi_ip_address:$rpi_ir_path/
echo "Copying all models from Rpi to local computer.."
-scp root@$rpi_ip_address:$rpi_model_path/*.wav $host_model_path/
+scp root@$rpi_ip_address:$rpi_model_path/*.json $host_model_path/
echo "Copying all IRs from Rpi to local computer.."
-scp root@$rpi_ip_address:$rpi_ir_path/*.wav $host_ir_path/
+scp root@$rpi_ip_address:$rpi_ir_path/*.wav $host_ir_path/