File: scummvm_gog_todo.sh

package info (click to toggle)
game-data-packager 85.1
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 33,332 kB
  • sloc: python: 15,320; sh: 713; ansic: 95; makefile: 60
file content (9 lines) | stat: -rwxr-xr-x 334 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# Copyright 2021 Alexandre Detiste
# SPDX-License-Identifier: GPL-2.0-only

set -e

cat data/*.yaml | grep url: | awk '{ print $2}' | sort -u > a
curl -sS https://wiki.scummvm.org/index.php?title=Where_to_get_the_games | grep -o -e https://www.gog.com/game/[a-z0-9_]* | sort -u | cut -d '/' -f 5 > b
diff -u a b | grep ^+