commit 953a3ddb0b75507b19edc87a724478537313f00b Author: Clarth Date: Wed Dec 13 22:33:33 2023 -0500 Add GetModIDs.sh diff --git a/GetModIDs.sh b/GetModIDs.sh new file mode 100644 index 0000000..76afa5b --- /dev/null +++ b/GetModIDs.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +#Get a list of modID's from the steam workshop folder of a game +#output will be one modID per line in a txt file + +DIR="/path/to/SteamLibrary/steamapps/workshop/content/294100" +OutputDir="/where/to/put/the/txt/file" + +find $DIR -type d -maxdepth 1 | awk -F'/' '{print $NF}' > $OutputDir/workshop_ids.txt + + +exit