From: Michal Ludvig <michal@lo...> - 2009-01-27 04:08:21
s3cmd 0.9.9-rc1, a "Birthday release", is now available. The '-rc1' in
the release name stands for Release Candidate - all the codebase changes
are now in place, testsuite runs fine and the only missing part is
finishing up some documentation and updating a manpage.
The important changes in 0.9.9-rc1 are:
* CloudFront support through cfcreate, cfdelete,
cfmodify and cfinfo commands.
- Yes, that's right, s3cmd now supports CloudFront, Amazon's content
delivery network. Many thanks to Joseph Denne from Airlock.com for
sponsoring the development of this feature.
* Added --include / --rinclude / --(r)include-from
options to override --exclude exclusions.
- Generating file lists for upload/download is now performed in three
1) get a list of matching local (or remote) files
2) exclude the ones matching --exclude (or --rexclude
or --exclude-from or --rexclude-from) patterns.
3) for each --exclude'd file check --include (or --rinclude
or --include-from or --rinclude-from) patterns and eventually
put it back on the list.
- With that you can for instance --exclude all *.jpg files from upload
except those that start with '_small' in them:
s3cmd put pics -r --exclude '*.jpg' --include '*_small*' s3://bkt/
- All patterns are equal - for example exclude something
with --exclude and include it back with --rinclude-from.
* Enabled --dry-run for [put] and [get].
- Check the list of files to be uploaded / downloaded with --dry-run
without actually uploading / downloading them. Together with --debug
you'll see how --exclude / --include patterns are applied.
* Fixed GPG (--encrypt) compatibility with Python 2.6.
- Self explanatory. Option --encrypt didn't work with Python 2.6
As soon as I take the documentation and manpage up to date I'm going to
release this as 0.9.9 and I hope I won't receive a ton of complaints
right afterwards. So PLEASE download and test this -rc1 in your
environment if you can. Also if you hit any illogical syntax or
unexpected behaviour please let me know. Especially regarding corner
cases. I'm still quite open to change the command line syntax to make it
feel "natural" for people with unix background.
Download from here: