transfer

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 21 Imported by: 0

README

Transfer.go GoDoc Go Report Card coverage

transfer.go is a commandline utility to upload files to https://transfer.sh.

Main features are:

  • Upload multiple files as a tar archive
  • Can encrypt files using AES256
  • Can compress files using gzip
  • Uses streams for maximum efficiency
  • Full Windows support
  • Progress bar

Examples

Upload LICENSE.md

$ transfer LICENSE.md
https://transfer.sh/9mzIi/LICENSE.md

Download LICENSE.md in the current directory

$ transfer -g https://transfer.sh/9mzIi/LICENSE.md

Create a tar.gz archive

$ transfer -t -z LICENSE.md README.md
https://transfer.sh/Qznmo/tar

Download and unpack the archive in mydir

$ transfer.exe -g -t -z -d mydir https://transfer.sh/Qznmo/tar

Read from stdin and encrypt using passwordfile

$ echo "secret message" | transfer -e -p paswordfile -
https://transfer.sh/OaJRF/stdin

Download, decrypt, and write to stdout

$ transfer -g -s -e -p passwordfile https://transfer.sh/11CI2B/stdin
secret message

Documentation

Overview

Package transfer is a command line utility for uploading files to transfer.sh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL