#!/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