AMPTemplates/arma3modscript.sh

6 lines
322 B
Bash
Raw Normal View History

2023-03-06 19:50:50 +01:00
#!/bin/bash
find ./arma3/233780/steamapps/workshop/content/107410/ -type f -name "*[A-Z]*" -print0 |\
2023-03-13 03:54:59 +01:00
xargs -0 -I {} bash -c "mv \"{}\" \"\`echo \"{}\" | sed 's,\(.*\)\/\(.*\),\1\/\L\2,'\`\"";\
2023-03-06 19:50:50 +01:00
cd ./arma3/233780 &&\
find ./steamapps/workshop/content/107410 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} +
exit 0