AMPTemplates/dayz-experimentalmodscript.sh

6 lines
320 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 |\
xargs -0 -I {} bash -c "mv \"{}\" \"\`echo {} | sed 's,\(.*\)\/\(.*\),\1\/\L\2,'\`\"" &&\
cd ./dayz/1042420 &&\
find ./steamapps/workshop/content/221100 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} +
exit 0