Update 2024-12-23 16:38 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-23 16:38:04 +01:00
parent e2edc9d2b6
commit b2c7bcd12a

View File

@ -132,7 +132,8 @@ then
then then
echo "Uploading $file as ${file}${_ext}" echo "Uploading $file as ${file}${_ext}"
_ext="$_ext.tgz" _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}" copy_and_print "${file}${_ext}"
continue continue
fi fi
@ -142,7 +143,8 @@ then
then then
echo "Uploading $file as ${file}${_ext}" echo "Uploading $file as ${file}${_ext}"
_ext="$_ext.gz" _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}" copy_and_print "${file}${_ext}"
continue continue
fi fi