From: Jérôme Date: Sat, 5 Mar 2016 11:31:02 +0000 (+0000) Subject: Merge branch 'linkname' into 'master' X-Git-Tag: 1.2.0~37^2 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/272ab3a46c93c963d80d4c7a31f7390b7317136a?hp=d876ad9bdb1c9c15e538c261c5bc752be5c7480a Merge branch 'linkname' into 'master' Add direct link in bash script + link title Hi, Another small patch to make things more user friendly :) See merge request !12 --- diff --git a/script.php b/script.php index 620d70d..3e6668e 100644 --- a/script.php +++ b/script.php @@ -350,7 +350,11 @@ if [ "$1" == "send" ]; then fi cnt=$(( cnt + 1 )) done) + echo "Download link:" echo "${url}?h=$code" + echo "Direct download link:" + echo "${url}?h=$code&d=1" + echo "Delete link:" echo "${url}?h=$code&d=$del_code" elif [ "$1" == "get" ]; then if [ -z "$password" ]; then