mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
updated readme with mktemp fix
This commit is contained in:
parent
d1a08318b3
commit
d29de37273
@ -25,7 +25,7 @@ Add alias to .bashrc or .zshrc:
|
|||||||
===
|
===
|
||||||
transfer() {
|
transfer() {
|
||||||
# write to output to tmpfile because of progress bar
|
# write to output to tmpfile because of progress bar
|
||||||
tmpfile=$( mktemp -t transfer )
|
tmpfile=$( mktemp -t transferXXX )
|
||||||
curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile;
|
curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile;
|
||||||
cat $tmpfile;
|
cat $tmpfile;
|
||||||
rm -f $tmpfile;
|
rm -f $tmpfile;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user