I would like to rename all of my files of my USB device randomly. Indeed, in my car, my tuner has not the random function.
I think I can do it with PHP ... but I'm pretty sure it is possible to do something shorter in shell script, right?
Assuming that you are running Linux, that you want to randomly order all files in the current directory and that no file name contains a newline:
You can add a random number of equal width as prefix, that's what I'm doing to randomize my audio files: