File Name Manipulation
From Tomelec
Create numbered symlinks to files
This creates a symlink to each .jpg file in ../frames starting from 000001.jpg. Useful for image sequences.
i=0; for file in ../frames/*.jpg; do let i=i+1; ln -s $file ./$(printf "%06d.jpg" $i); done
Inspiration and discussion on Stackoverflow!