diff --git a/arma3modscript.sh b/arma3modscript.sh index 93e7e44..a5d69e9 100644 --- a/arma3modscript.sh +++ b/arma3modscript.sh @@ -1,5 +1,5 @@ #!/bin/bash -find ./arma3/233780/steamapps/workshop/content/107410/ -type f -name "*[A-Z]*" -print0 |\ +find ./arma3/233780/steamapps/workshop/content/107410/ -depth -name "*[A-Z]*" -print0 |\ xargs -0 -I {} bash -c "mv \"{}\" \"\`echo \"{}\" | sed 's,\(.*\)\/\(.*\),\1\/\L\2,'\`\"";\ cd ./arma3/233780 &&\ find ./steamapps/workshop/content/107410 -maxdepth 1 -mindepth 1 -type d -exec ln -sf -t ./ {} + diff --git a/dayz-experimentalmodscript.sh b/dayz-experimentalmodscript.sh index bd39141..07b9510 100644 --- a/dayz-experimentalmodscript.sh +++ b/dayz-experimentalmodscript.sh @@ -1,5 +1,5 @@ #!/bin/bash -find ./dayz/1042420/steamapps/workshop/content/221100/ -type f -name "*[A-Z]*" -print0 |\ +find ./dayz/1042420/steamapps/workshop/content/221100/ -depth -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 ./ {} +