S3 files uploader written on Clojure
Main requirements:
- Upload all files from specified directory to s3
- Upload all files independent of directory size.
- Guaranty that all files will be uploaded.
- Concurrent uploading.
To upload on s3 files from some directory:
- Download jar file from http://s3files.droxbob.com
- Put config file
config.clj
near .jar file $ java -jar s3files-0.1.0-standalone.jar
{
:access-key "your S3 access key"
:secret-key "your S3 secret key"
:bucket "your buket name"
:key-prefix "path/prefix/"
:filter-by-extensions ["jpeg" "png"]
:work-dir "/root/files/dir" #if not specified .jar dir userd
:batch-size 100 #if not specified 20 by default
}
I'm a newbie in Clojure
Copyright © 2013 Max Shytikov
Distributed under the Eclipse Public License, the same as Clojure.