commit cafb3dc92250531877ae5134e64d53ad739ff5b1 parent dc364c9621af2be9a4bf12c0060ff5b106de58f6 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri, 16 Sep 2022 17:21:17 +0200 added echo links Diffstat:
M | share | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/share b/share @@ -2,4 +2,7 @@ # One-liner to upload stuff to my webserver -scp $@ tronto.net:/var/www/htdocs/share.tronto.net/ +url=tronto.net:/var/www/htdocs/share.tronto.net + +scp $@ $url/ +for i in $@; do echo "$url/$i"; done