neoAkira - 2013-10-02

Would it be possible to configure s3cmd within a bash script?

My Scenario. I'm writing a script to sync and upload folders to S3. Eventually I would have to push this onto each and every server most of which do not have s3cmd installed.

Within the script I'm checking if it exists and currently it just exits if it is not in there. What I would like to do is, when run the first time and not find s3cmd, it will wget the tar, extract and install the files AND (here is where I need help) build the configure file with the script supplying access_key and secret_key