Prepends the received datetime of a msg email file as a string to the .msg file name and can move emails into month folders based on receive date. Returns file fixity to aid file analysis.
This project has three scripts:
- email_renamer.py - renames all the .msg files in a folder with the email's received date.
- email_renamer_month_buckets.py - within the folder containing the emails, it will rename each email and move them into a folder based on the date the email was received.
- file_name_reverter.py - reverts the file names back. It there are any duplicate file names it will print the filename "yyyy_mm_dd-hh_mm_ss#filename.msg", but not process it.