Skip to content

ferrymanders/s3tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

s3tool

This tool is created with temparary file storage in mind. I use it to swap files between machines that aren't directly connected but both have internet web access.

Download/Install

Get this tool in one of the following ways

wget https://raw.githubusercontent.com/ferrymanders/s3tool/master/s3.sh; chmod +x s3.sh
# or
curl https://raw.githubusercontent.com/ferrymanders/s3tool/master/s3.sh -o s3.sh; chmod +x s3.sh

Usage

Create a .s3creds file in your homedir, in that file put the following settings

s3Key="<Access Key>"
s3Secret="<Secret Key>"
s3Host="s3.host.tld"

After that put the file that you want to transfer

./s3.sh put <file> <bucket>

After uploading you'll get an download command

Known bugs/TODO

  • Currently the script doesn't support files with spaces in it.
  • Script needs usage output
  • Need to put in getopts handling

S3 storage

For testing this tool i've used the Object Storage of scaleway.com, they currently offer 75GB of free storage with 75GB of monthly download traffic, incomming traffic and requests are fully free. https://www.scaleway.com/en/object-storage/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages