Update mod scripts (#299)

This commit is contained in:
Greelan 2023-03-13 13:54:59 +11:00 committed by GitHub
parent c349bde35d
commit 534c0f2eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
find ./dayz/1042420/steamapps/workshop/content/221100/ -type f -name "*[A-Z]*" -print0 |\ 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,'\`\"" &&\ xargs -0 -I {} bash -c "mv \"{}\" \"\`echo \"{}\" | sed 's,\(.*\)\/\(.*\),\1\/\L\2,'\`\"";\
cd ./dayz/1042420 &&\ cd ./dayz/1042420 &&\
find ./steamapps/workshop/content/221100 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} + find ./steamapps/workshop/content/221100 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} +
exit 0 exit 0