I have have the following bash command, which gives me 300 random files of a folder.
ls /directory/ | sort -R | head -n 300
I want t