AMPTemplates/dayz-experimentalmodscript.sh

6 lines
322 B
Bash
Raw Normal View History

2023-03-05 06:22:19 +01:00
#!/bin/bash
find ./dayz/1042420/steamapps/workshop/content/221100/ -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-05 06:22:19 +01:00
cd ./dayz/1042420 &&\
find ./steamapps/workshop/content/221100 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} +
exit 0