diff --git a/commcare-export-multi b/commcare-export-multi new file mode 100755 index 0000000..b232647 --- /dev/null +++ b/commcare-export-multi @@ -0,0 +1,12 @@ +#!/bin/bash + +# Usage: +# +# PROJECTS="project1 project2 project3" commcare-export-multi [all the same args you'd use for commcare-export] +# + +for PROJECT in ${PROJECTS} +do + echo "commcare-export $@ --project ${PROJECT}" + commcare-export "$@" --project ${PROJECT} +done