Преглед на файлове

show filename next to url for attachments in stdout

Siddharth Dushantha преди 5 години
родител
ревизия
57e7b891f8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tmpmail

+ 1 - 1
tmpmail

@@ -257,7 +257,7 @@ EOF
                 # The actual url is way too long and does not look so nice in STDOUT.
                 # Therefore we will shortening it using is.gd so that it looks nicer.
                 LINK=$(curl -s -F"url=$LINK" "https://is.gd/create.php?format=simple")
-                HTML_MAIL="$HTML_MAIL$LINK<br>"
+                HTML_MAIL="$HTML_MAIL$LINK  [$FILENAME]<br>"
             else
                 HTML_MAIL="$HTML_MAIL$HTML_LINK"
             fi