changeset 2774:0f825b9c0d8c

add s3-fetch-and-sync script
author Tony Theodore <tonyt@logyst.com>
date Sat, 22 Sep 2012 22:13:09 +1000
parents 603f5be8a550
children 6bc26fc1e74c
files tools/s3-fetch-and-sync
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/s3-fetch-and-sync	Sat Sep 22 22:13:09 2012 +1000
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+#ec2-174-129-78-72.compute-1.amazonaws.com
+#http://s3tools.org/s3cmd
+
+cd ~/mxe && git pull
+cd ~/mxe && make download
+s3cmd sync --acl-public ~/mxe/pkg/* s3://mxe-pkg/