This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |