Python script to rename EML files, in case filename is obfuscated.
The code looks inside a directory, path
, and iterates through each and every one of the EML files, taking in the message subject and the message sender. It then renames the file to sender + " - " + subject + .eml
, for easy identification and sorting through File Explorer or other means.
Credit due to Deon from the Re:Union Discord server - a fun place to make new friends and forge long-lasting bonds!