mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +00:00
parent
da184fe98c
commit
b485d520be
10
README.md
10
README.md
@ -1822,5 +1822,15 @@ users
|
||||
```bash
|
||||
w
|
||||
```
|
||||
##### Upload a file to web and download (https://transfer.sh/)
|
||||
--> upload:
|
||||
```bash
|
||||
curl --upload-file ./filename.txt https://transfer.sh/filename.txt
|
||||
```
|
||||
(the above command will return a URL, e.g: https://transfer.sh/tG8rM/filename.txt)
|
||||
--> download:
|
||||
```bash
|
||||
curl https://transfer.sh/tG8rM/filename.txt -o filename.txt
|
||||
```
|
||||
|
||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||
|
Loading…
Reference in New Issue
Block a user