mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:55:44 +02:00
transfersh: add page (#6506)
This commit is contained in:
parent
34634ad155
commit
30d7e09e07
1 changed files with 28 additions and 0 deletions
28
pages/common/transfersh.md
Normal file
28
pages/common/transfersh.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# transfersh
|
||||||
|
|
||||||
|
> An unofficial command-line client for transfer.sh.
|
||||||
|
> More information: <https://github.com/AlpixTM/transfersh>.
|
||||||
|
|
||||||
|
- Upload a file to transfer.sh:
|
||||||
|
|
||||||
|
`transfersh {{path/to/file}}`
|
||||||
|
|
||||||
|
- Upload a file showing a progress bar (requires Python package `requests_toolbelt`):
|
||||||
|
|
||||||
|
`transfersh --progress {{path/to/file}}`
|
||||||
|
|
||||||
|
- Upload a file using a different file name:
|
||||||
|
|
||||||
|
`transfersh --name {{filename}} {{path/to/file}}`
|
||||||
|
|
||||||
|
- Upload a file to a custom transfer.sh server:
|
||||||
|
|
||||||
|
`transfersh --servername {{upload.server.name}} {{path/to/file}}`
|
||||||
|
|
||||||
|
- Upload all files from a directory recursively:
|
||||||
|
|
||||||
|
`transfersh --recursive {{path/to/directory/}}`
|
||||||
|
|
||||||
|
- Upload a specific directory as an uncompressed tar:
|
||||||
|
|
||||||
|
`transfersh -rt {{path/to/directory}}`
|
Loading…
Add table
Reference in a new issue