Works for me. Details in this node
Corrected -e$n: thanks to remiah
In reply to Re: renaming filenames by pvaldes in thread renaming filenames by andalou