Created
January 20, 2018 06:47
-
-
Save xDShot/971d9bdb46eef727e209ca3299d4dc81 to your computer and use it in GitHub Desktop.
Batch compile all .qc in subfolders to Source Engine models
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
for D in ./*; do | |
if [ -d "$D" ]; then | |
echo "I go into $D folder" | |
cd "$D" | |
for qc in *.qc; do | |
echo "Batch processing the $qc" | |
studiomdl-hl2 $qc | |
done | |
cd .. | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment