From 6d3de36c1642b8ddd29e250f3b28b4c542874dbe Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sun, 16 Apr 2023 11:40:41 +1000 Subject: [PATCH] Update modscripts (#337) --- arma3modscript.sh | 2 +- dayz-experimentalmodscript.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ./ {} +