diff options
author | Thomas White <taw@physics.org> | 2010-06-13 15:00:39 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:46 +0100 |
commit | 68a5c78d49a04188639516fc50c4b541df81fe82 (patch) | |
tree | eed05aaa4e7c128b9f03b1af4c7ae4fc44ef595b /scripts/random-image | |
parent | 4f7bf9808846b5fd3db73d0cb64ad36fded40c8d (diff) |
Add scripts/random-image
Diffstat (limited to 'scripts/random-image')
-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 |