Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngerakines/seedbox-utils


https://github.com/ngerakines/seedbox-utils

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# seedbox-utils

A collection of utilities to help manage files using s3.

These scripts assume a few things:

* On the "get" side, you created a gpg key.
* On the "put" side, you created a gpg key, imported the public key from the "get" side and gave it trust.
* On both "get" and "put" sides you've configured s3cmd.

# put.sh

A small script to split a file, encrypt the parts (using gpg) and put them onto s3.

$ alias put='put.sh [email protected] bucketabcdefg'
$ TMP=`date +%s`; mkdir ~/tmp-$TMP; cd ~/tmp-$TMP
$ put ~/files/awesome.data
$ cd ~/
$ rm -rfv ~/tmp-*

# get.sh

A script that fetches encrypted parts, decrypts them and pieces them back together.

$ alias get='get.sh bucketabcdefg'
$ TMP=`date +%s`; mkdir ~/tmp-$TMP; cd ~/tmp-$TMP
$ get prefixa
...
[gpg password]

# list-available.sh

A script that peaks at the MANIFEST files for all of the uploaded content and displays it.

$ alias list-available='list-available.sh bucketabcdefg'
$ list-available
[gpg password]
1234567890 superhash /path/to/file
2345678901 superhash /path/to/other/file