LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

transfersh

Share files via command-line uploads

TLDR

Upload file
$ curl --upload-file [file.txt] https://transfer.sh/[filename]
copy
Upload with max downloads
$ curl --upload-file [file.txt] -H "Max-Downloads: [1]" https://transfer.sh/
copy
Upload with expiry
$ curl --upload-file [file.txt] -H "Max-Days: [7]" https://transfer.sh/
copy
Delete upload
$ curl -X DELETE [delete-url]
copy
Encrypt upload
$ cat [file] | gpg -c | curl --upload-file - https://transfer.sh/[file.gpg]
copy

SYNOPSIS

curl --upload-file file [-H headers] https://transfer.sh/[name]

DESCRIPTION

transfer.sh is a file sharing service designed for easy command-line use. Files are uploaded via standard HTTP PUT requests using curl, and the service returns a unique download URL that can be shared with others. No account or registration is required for basic uploads.Uploads can be configured with expiration times and download limits through HTTP headers, giving control over how long files remain available and how many times they can be downloaded. Files are automatically deleted after the specified expiration period. The service also supports encryption by piping files through GPG before uploading.Transfer.sh can be self-hosted as an open-source Go application or used through the public instance at transfer.sh. It supports uploads up to several gigabytes and provides delete URLs for manual removal of uploaded files.

PARAMETERS

--upload-file

File to upload.
Max-Downloads: N
Download limit.
Max-Days: N
Days until expiry.
-X DELETE
Delete file.

CAVEATS

External service. Size limits. Public URLs.

HISTORY

transfer.sh was created as a simple file sharing service using the command line via curl.

SEE ALSO

curl(1), wormhole(1), ffsend(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid