From 9cc7df88676bf2d236f1af8dfcc47fda2ba12f12 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 29 Apr 2014 09:23:45 +0200 Subject: Generate fake files for test cases --- scripts/genTempFiles.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/genTempFiles.sh (limited to 'scripts') 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 -- cgit 1.4.1