This Go project uses the magicmime library to detect the MIME type of a file and automatically rename the file to have the correct extension based on the detected MIME type.
- MIME Type Detection: Automatically detects the MIME type of a file using the
magicmimelibrary. - Automatic File Renaming: Renames files to match their detected MIME type by updating the file extension.
./magicmime