Stream-Workshop-Downloader/GetModIDs.sh

13 lines
334 B
Bash
Raw Permalink Normal View History

2023-12-13 22:33:33 -05:00
#!/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