Browse Source

Merge branch 'master' of https://github.com/dutchcoders/transfer.sh

pull/258/head
nrew225 4 years ago
parent
commit
8c237fb577
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.md

+ 1
- 1
README.md View File

@@ -87,7 +87,7 @@ alias transfer=transfer
function transfer --description 'Upload a file to transfer.sh'
if [ $argv[1] ]
# write to output to tmpfile because of progress bar
set -l tmpfile ( mktemp -t transferXXX )
set -l tmpfile ( mktemp -t transferXXXXXX )
curl --progress-bar --upload-file "$argv[1]" https://transfer.sh/(basename $argv[1]) >> $tmpfile
cat $tmpfile
command rm -f $tmpfile


Loading…
Cancel
Save