Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngerakines/seedbox-utils
https://github.com/ngerakines/seedbox-utils
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngerakines/seedbox-utils
- Owner: ngerakines
- Created: 2013-06-16T07:05:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-18T20:38:25.000Z (over 11 years ago)
- Last Synced: 2024-11-09T09:44:24.416Z (2 months ago)
- Language: Shell
- Size: 132 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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