diff options
Diffstat (limited to '%HOME%/.bash_utils/file.sh')
-rw-r--r-- | %HOME%/.bash_utils/file.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/%HOME%/.bash_utils/file.sh b/%HOME%/.bash_utils/file.sh index 9bc28e2..94d297d 100644 --- a/%HOME%/.bash_utils/file.sh +++ b/%HOME%/.bash_utils/file.sh @@ -49,7 +49,5 @@ pastebin() ( local path="$1" - # Use the .txt file extension so that when you open a link, it displays - # the contents instead of downloading. - curl -sS --connect-timeout 5 -F "file=@$path;filename=.txt" https://x0.at/ + curl -sS --connect-timeout 5 -X PUT --data-binary "@$path" https://paste.tensin.name/ ) |