tldr/pages/common/transfersh.md

29 lines
728 B
Markdown
Raw Normal View History

2021-09-18 04:54:01 +01:00
# 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}}`