mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Mention a shell alias alternative using curl
This commit is contained in:
parent
4e6352331f
commit
741d926201
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
<p>Save this script in <code>/usr/local/bin/dpaste</code> and <code>chmod +x ..filepath</code>.</p>
|
<p>Save this script in <code>/usr/local/bin/dpaste</code> and <code>chmod +x ..filepath</code>.</p>
|
||||||
<p>Usage: <code>cat foo.txt | dpaste</code></p>
|
<p>Usage: <code>cat foo.txt | dpaste</code></p>
|
||||||
|
|
||||||
|
<p>Or you could use <code>curl</code>:
|
||||||
|
<code>alias dpaste="curl -F 'content=<-' http://dpaste.de/api/</code></p>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue