HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

transfersh — An unofficial client for transfer.sh. More information: <https://github.com/AlpixTM/transfersh>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclientclitransfermoreunofficialfortransfersh

Problem

How to use the transfersh command: An unofficial client for transfer.sh. More information: <https://github.com/AlpixTM/transfersh>.

Solution

transfersh — An unofficial 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 {{[-p|--progress]}} {{path/to/file}}


Upload a file using a different file name:
transfersh {{[-n|--name]}} {{filename}} {{path/to/file}}


Upload a file to a custom transfer.sh server:
transfersh {{[-sn|--servername]}} {{upload.server.name}} {{path/to/file}}


Upload all files from a directory recursively:
transfersh {{[-r|--recursive]}} {{path/to/directory}}/


Upload a specific directory as an uncompressed tar:
transfersh {{[-rt|--recursive --tar]}} {{path/to/directory}}

Code Snippets

Upload a file to transfer.sh

transfersh {{path/to/file}}

Upload a file showing a progress bar (requires Python package `requests_toolbelt`)

transfersh {{[-p|--progress]}} {{path/to/file}}

Upload a file using a different file name

transfersh {{[-n|--name]}} {{filename}} {{path/to/file}}

Upload a file to a custom transfer.sh server

transfersh {{[-sn|--servername]}} {{upload.server.name}} {{path/to/file}}

Upload all files from a directory recursively

transfersh {{[-r|--recursive]}} {{path/to/directory}}/

Context

tldr-pages: common/transfersh

Revisions (0)

No revisions yet.