소스 검색

Fixes #7. mktemp needs consecutive 'X's in last component.

tags/v1.0.0
Remco 9 년 전
부모
커밋
d1a08318b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      transfersh-web/index.html

+ 1
- 1
transfersh-web/index.html 파일 보기

@@ -151,7 +151,7 @@
<h3>Make an alias</h3>

<h4>Create an alias, and add it to .bashrc for faster use</h4>
<code>$ transfer() { # write to output to tmpfile because of progress bar tmpfile=$( mktemp -t transfer ) curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
<code>$ transfer() { # write to output to tmpfile because of progress bar tmpfile=$( mktemp -t transferXXX ) curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
<br/>$ alias transfer=transfer</code>
<h4>Now you can just use
<strong>transfer</strong> command</h4>


불러오는 중...
취소
저장