Ever come across some files that don't have an extension?

In *nix systems, it doesn't really matter, but in Windows, it can be troublesome when you want to open them with a specific program.
Extensionator will help you add extensions to files automatically based on their mime type. It does require the file command to be installed, which usually comes with git-for-windows (if you told it to add the bash tools to your path).
This tool is not published to PyPI, so you'll have to install it directly from the repo.
$ pip install git+https://github.com/ethanavatar/extensionator.git$ python -m extensionator --help
usage: extensionator [-h] {file,dir} ...
Add extensions to files that don't have an extension based on their mime type.
positional arguments:
{file,dir} Command to run
file Add extensions to a single file
dir Add extensions to all files in a directory
optional arguments:
-h, --help show this help message and exit$ python -m extensionator file path/to/file$ python -m extensionator dir path/to/dir/of/files