I am trying to see if I can use a regular expression to rename a long list of files in a directory.
That is, the current file name is in the format below:
filename_[2013_05_30].mp4
And I'd like to rename it to the following format:
[2013_05_30]_filename.mp4
I am using Linux (Ubuntu) and can use either shell script or php.
Thanks!