a few new scripts. grid land lister does a dump of the uuids and such for land on...
[feisty_meow.git] / scripts / opensim / grid_land_lister.sh
diff --git a/scripts/opensim/grid_land_lister.sh b/scripts/opensim/grid_land_lister.sh
new file mode 100644 (file)
index 0000000..a4909e3
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# creates a file with the information about land on the
+# simulator.
+
+#hmmm: need to abstract the gridroot user, the output file name
+#(although support a default), and the database name.
+
+mysql -u gridroot -p > $HOME/dump_of_opensim_land_table.txt <<eof
+use wildmutt_opensim;
+select RegionUUID,Name,Description,OwnerUUID from land;
+eof
+