about summary refs log tree commit diff homepage
path: root/scripts/genTempFiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genTempFiles.sh')
-rwxr-xr-xscripts/genTempFiles.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/genTempFiles.sh b/scripts/genTempFiles.sh
new file mode 100755
index 00000000..f77cbcea
--- /dev/null
+++ b/scripts/genTempFiles.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ -z "$1" ] ; then
+	echo "No directory given"
+	exit 1
+fi
+
+mkdir -p $1
+for i in `seq 1 100`; do
+	mkdir -p $1/dir_foo_$i
+	touch $1/tmp_foo_$i
+done