Explorar el Código

Print deletion URL on stderr

master
JustAnotherArchivist hace 4 años
padre
commit
163aacf13c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      transfer.notkiska.pw-upload

+ 1
- 1
transfer.notkiska.pw-upload Ver fichero

@@ -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

Cargando…
Cancelar
Guardar