A Python script to sort Portable Executable (PE) files by their version and download debug symbols if existing.
- Automatically download PDB symbols from
msdl.microsoft.com
if applicable. - Process a batch of Portable Executable (PE) files from a source folder (option
--source
).
$ ./SortPEbyVersions.py -h
usage: SortPEbyVersions.py [-h] -s SOURCE_DIR -a ARCHIVE_DIR [-v]
Sort Portable Executable (PE) files by their version and download debug symbols if existing.
options:
-h, --help show this help message and exit
-s SOURCE_DIR, --source-dir SOURCE_DIR
Source directory where to get PE files.
-a ARCHIVE_DIR, --archive-dir ARCHIVE_DIR
Archive directory where to store PE files by versions.
-v, --verbose Verbose mode. (default: False)
Pull requests are welcome. Feel free to open an issue if you want to add other features.