title: Configuring s3cmd non-interactively through bash script
body: <p>I am trying to configure s3cmd. When at the command line,</p>
  
  <pre><code>s3cmd --configure 
  </code></pre>
  
  <p>runs the wizard and the data entry is straight forward.
  Now, I want to run this through a bash script. I used:</p>
  
  <pre><code>s3cmd --configure --access_key=XXXXXXX --secret_key=XXXXXX -s --no-encrypt 
  </code></pre>
  
  <p>and the interactive wizard still pops out asking me the params I just supplied. I then tried dumping out the contents of the config file (.s3cfg) and writing it to a file in the root hoping s3cmd would read it:</p>
  
  <pre><code>s3cmd --configure --access_key=XXXXXXX --secret_key=XXXXXX -s --no-encrypt 
  --dump-config 2&gt;&amp;1 | tee .s3cfg
  </code></pre>
  
  <p>but that didn't work either..
  Any ideas?
  Thanks.</p>