Skip to content

Instantly share code, notes, and snippets.

View luzemario's full-sized avatar
💭
I may be *very* slow to respond.

Luzemário luzemario

💭
I may be *very* slow to respond.
View GitHub Profile
#!/bin/bash
#Simple Uploader for linux. Place inside libstorj/bin
# The script will create a new directory with randomly generated files, and begin uploading
# Files are automatically removed after uploading.
BUCKET=a882a4d1af7ce8a3bf6674c1
. ~/.storj.
#generates a 16 character unique filename
FILENAME=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16 ; echo '')
#Create Directory to store files in