Skip to content

Hnz/transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Decrypt a file using OpenSSL

$ openssl enc -d -aes-256-ofb -md SHA256 -in encryptedfile
secret message

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages