How do I rename multiple files beginning with a Unix timestamp - imapsync issue

view story

http://stackoverflow.com – I didn't got the script from imapsync to rename maildir filenames to work. :-/ So what I need is: I have a mail folder with thousands of mails. After importing those emails to my new server, the filename of the emails got the creation date as a Unix timestamp in the filename, but the creation date flag of the file is the correct receive date from the email. ls -l for one file looks like this: -rw-r--r-- 1 popuser popuser 1350432 2013-03-16 07:22 1363563215.M562903P29332V0000000000000802I0000000000AEA46B_527.my-domain.org,S=1350432:2,S So what the script has to do is: 1) read the creat (HowTos)