AMPTemplates/arma3modscript.sh

6 lines
321 B
Bash
Raw Normal View History

2023-03-06 19:50:50 +01:00
#!/bin/bash
2023-04-16 03:40:41 +02:00
find ./arma3/233780/steamapps/workshop/content/107410/ -depth -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