updated with changed tailscale machine names

This commit is contained in:
Peter Wood
2024-01-03 21:22:58 -05:00
parent 8cb4faf587
commit bbf599f7d6

View File

@@ -11,7 +11,7 @@ command="rsync \
--archive --verbose --progress --dry-run --stats \ --archive --verbose --progress --dry-run --stats \
-e 'ssh -p 58022' \ -e 'ssh -p 58022' \
--include '*.gz' \ --include '*.gz' \
acedanger@vperanda:$source $destination \ acedanger@ts-vperanda:$source $destination \
| fgrep 'Number of files' | cut -d' ' -f4 | tr -d ," | fgrep 'Number of files' | cut -d' ' -f4 | tr -d ,"
# echo 'Running command => ' # echo 'Running command => '
@@ -21,7 +21,7 @@ num_files=$(rsync \
--archive --verbose --progress --dry-run --stats \ --archive --verbose --progress --dry-run --stats \
-e 'ssh -p 58022' \ -e 'ssh -p 58022' \
--include '*.gz' \ --include '*.gz' \
acedanger@vperanda:$source $destination \ acedanger@ts-vperanda:$source $destination \
| fgrep 'Number of files' | cut -d' ' -f4 | tr -d , | fgrep 'Number of files' | cut -d' ' -f4 | tr -d ,
) )
@@ -38,7 +38,7 @@ rsync \
--recursive --verbose --progress --remove-source-files --archive \ --recursive --verbose --progress --remove-source-files --archive \
-e 'ssh -p 58022' \ -e 'ssh -p 58022' \
--include '*.gz' \ --include '*.gz' \
acedanger@vperanda:$source $destination acedanger@ts-vperanda:$source $destination
# send a notification to https://notify.peterwood.rocks/lab # send a notification to https://notify.peterwood.rocks/lab
curl \ curl \