Archive for June, 2010

Shuffle files in a directory

June 3, 2010

Sometimes you may need to shuffle your files in a directory (e.g. when you want to randomly play music stored in this directory from an MP3 player that doesn’t support random playback). I’ve written a small utility in Python that accomplishes this task by prefixing every file’s name with a sequence value (01, 02, etc.).
(more…)

Advertisements