Add GetModIDs.sh
This commit is contained in:
commit
953a3ddb0b
|
@ -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
|
Loading…
Reference in New Issue