Read Game ID (read-game-id.sh) is a Linux-native script to read the game ID from rips of PlayStation game backups. It provides an easy way to get the ID if your particular ISO or BIN/CUE image. Note that most end users will not need this, but if you are in a situation where you need to know the game ID, this will be of use.
Please see the Read Game ID page for details and the download link.