extension=""
echo "Type an extension to shuffle"
read extension
to_shuffle=$(find . -name "*.${extension}");
mkdir shuffled;
for file in $to_shuffle; do
rand=$RANDOM
mv ${file} shuffled/$rand.${extension}
done
echo "Done"