Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to (programmatically, in a shell script) upload an EAR file to an Amazon S3 bucket on Debian (5.0.4). What, if any, Debian package provides simple, scriptable tools for that?

Ideally this would be a set of command line tools akin to those in Ubuntu's ec2-api-tools package.

(I want raw S3 bucket access, so please don't suggest solutions like Jungle Disk.)

share|improve this question
up vote 5 down vote accepted

George Reese recommended s3cmd in "Cloud Application Architectures". It seems to be readily available as a debian package.

share|improve this answer
Yeah, this is what I needed (wonder why I missed it in the first place). Thanks! – Jonik Apr 13 '10 at 8:27

The Python Boto library would be one method. Alternatively, you could use something like s3fs, which allows you to mount an S3 bucket. With that solution, all you'd need to do is copy or move your EAR file to the specified mount point.

share|improve this answer
Thanks - not what I was looking for right now, but Boto seems pretty cool and I think I'll use it later when playing with Python – Jonik Apr 13 '10 at 8:49

mc provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems. It has features like resumable uploads, progress bar, parallel copy. mc is written in golang and released under Apache license v2.

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.