aboutsummaryrefslogtreecommitdiff
path: root/scripts/random-image
blob: cabd1e73cb4fce9cd9e63e4966a367fc6ec16dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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