Sfoglia il codice sorgente

Print deletion URL on stderr

master
JustAnotherArchivist 4 anni fa
parent
commit
163aacf13c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      transfer.notkiska.pw-upload

+ 1
- 1
transfer.notkiska.pw-upload Vedi 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

Caricamento…
Annulla
Salva