new scripts for acting on hierarchies
[feisty_meow.git] / scripts / site_avenger / act_on_apps.sh
diff --git a/scripts/site_avenger/act_on_apps.sh b/scripts/site_avenger/act_on_apps.sh
new file mode 100644 (file)
index 0000000..32cb32e
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# run a command on all of the existing apps folders, but only if they appear to have site avenger projects in them.
+
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+
+# fix the app name for our call to the act_on_tree script.
+export APP_NAME="$(basename $0 .sh)"
+
+act_on_tree -f avenger5 -d ~/apps "${@}"
+
+