summaryrefslogtreecommitdiffstats
path: root/tools/s3-fetch-and-sync
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-09-22 12:13:09 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-09-22 12:13:09 (GMT)
commit5cf083ae7d4122e2b18500c4ab025810ead4b79c (patch)
treea12585416b5323df56781488b3752f184a679139 /tools/s3-fetch-and-sync
parent615ca2632b2c8e70f12480a0ed7ac3d479c2b85d (diff)
downloadmxe-5cf083ae7d4122e2b18500c4ab025810ead4b79c.zip
mxe-5cf083ae7d4122e2b18500c4ab025810ead4b79c.tar.gz
mxe-5cf083ae7d4122e2b18500c4ab025810ead4b79c.tar.bz2
add s3-fetch-and-sync script
Diffstat (limited to 'tools/s3-fetch-and-sync')
-rwxr-xr-xtools/s3-fetch-and-sync8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/s3-fetch-and-sync b/tools/s3-fetch-and-sync
new file mode 100755
index 0000000..6ead8d8
--- /dev/null
+++ b/tools/s3-fetch-and-sync
@@ -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/