Add GetModIDs.sh

This commit is contained in:
Clarth 2023-12-13 22:33:33 -05:00
commit 953a3ddb0b
1 changed files with 12 additions and 0 deletions

12
GetModIDs.sh Normal file
View File

@ -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