diff options
-rwxr-xr-x | scripts/random-image | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/random-image b/scripts/random-image new file mode 100755 index 00000000..cabd1e73 --- /dev/null +++ b/scripts/random-image @@ -0,0 +1,14 @@ +#!/bin/bash + +FILE=$1 +TEMPFILE=`mktemp $1.XXXXXX` + +trap "rm -f $TEMPFILE" EXIT +sort -R $FILE > $TEMPFILE + +for FILENAME in `cat $TEMPFILE`; do + + echo $FILENAME + hdfsee --int-boost=10 ${2}${FILENAME} + +done |