Updates download_recordings with faster protocol
This commit is contained in:
parent
5ac459a0d5
commit
5bc81789e5
|
|
@ -9,7 +9,9 @@ LOCAL_FOLDER="/Users/Etienne/GitHub/NorthStar-HMI"
|
|||
echo "Starting folder download from Raspberry Pi"
|
||||
|
||||
# Run scp with sshpass
|
||||
scp -r "$PI_USER@$PI_HOST:$REMOTE_FOLDER" "$LOCAL_FOLDER"
|
||||
rsync -avz --progress --ignore-existing\
|
||||
"$PI_USER@$PI_HOST:$REMOTE_FOLDER" \
|
||||
"$LOCAL_FOLDER"
|
||||
|
||||
# Check if scp succeeded
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user