commit: 3a2965ca3d818d107c41742b0e6003d69eb16f02
parent: 762c53b36de3bc3bb27ed13dcac1b05a6e931c2f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 30 Apr 2018 01:21:52 +0200
sshpaste: Quiet mode for scp
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sshpaste b/sshpaste
@@ -24,7 +24,7 @@ sshpaste_file() {
[ -s "$1" ] || die "$1 is empty"
target_name=$(basename "$1")
chmod +r "$1"
- if scp "$1" "${target_ssh}-${target_name}"
+ if scp -q "$1" "${target_ssh}-${target_name}"
then echo "${target_www}-${target_name}"
else die "Failed uploading $1"
fi