From b2c7bcd12ad0c721563b2d4a7f02978da9dee8ad Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Mon, 23 Dec 2024 16:38:04 +0100 Subject: [PATCH] Update 2024-12-23 16:38 OpenBSD/amd64-t14 --- .bin/upload | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bin/upload b/.bin/upload index c20dcda..f9fc52b 100755 --- a/.bin/upload +++ b/.bin/upload @@ -132,7 +132,8 @@ then then echo "Uploading $file as ${file}${_ext}" _ext="$_ext.tgz" - tar czf - "$file" | ssh $_sshhost "pv - > $_rpath/${file}${_ext}" + tar czf - "$file" \ + | ssh $_sshhost "pv - > $_rpath/${file}${_ext}" copy_and_print "${file}${_ext}" continue fi @@ -142,7 +143,8 @@ then then echo "Uploading $file as ${file}${_ext}" _ext="$_ext.gz" - cat "$file" gzip -o - "$file" | $_sshhost "pv - > $_rpath/${file}${_ext}" + cat "$file" gzip -o - "$file" \ + | $_sshhost "pv - > $_rpath/${file}${_ext}" copy_and_print "${file}${_ext}" continue fi