Browse Source

Print deletion URL on stderr

master
JustAnotherArchivist 1 year ago
parent
commit
163aacf13c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      transfer.notkiska.pw-upload

+ 1
- 1
transfer.notkiska.pw-upload View File

@@ -1,2 +1,2 @@
#!/bin/bash
curl -s --upload-file "$1" https://transfer.notkiska.pw/ | sed 's,%40,@,g'; echo
curl -sv --upload-file "$1" https://transfer.notkiska.pw/ 2> >(grep -Po -m 1 '< X-Url-\KDelete: .*' >&2) | sed 's,%40,@,g'; echo

Loading…
Cancel
Save