handle nested dirs

This commit is contained in:
2026-03-22 13:35:25 -06:00
parent 53430f768f
commit d2239a670c
6 changed files with 3188 additions and 39 deletions
+5 -2
View File
@@ -191,8 +191,11 @@ goto END
REM Print ssh Hydra command to wipe @eaDir when NAS cleanup failed (matches NASPATH from pasted R:\ path).
:PRINT_HYDRA_CLEAR_EADIR
if "%NASPATH%"=="" goto :eof
echo %MAG%To clear locked @eaDir on Hydra: ssh in first, then run:%RST%
echo %BLD%%YLW% sudo rm -rf "%NASPATH%/@eaDir"%RST%
echo %MAG%To clear locked @eaDir on Hydra: ssh in first.%RST%
echo %GRY%Permission denied lines above name nested paths ^(e.g. editDesc, gameplay^).%RST%
echo %GRY%Clear every @eaDir under the SAME folder you passed to nascleanup ^(NASPATH below^),%RST%
echo %GRY%not only the subpath from the first error line.%RST%
echo %BLD%%YLW% sudo find "%NASPATH%" -depth -type d -name '@eaDir' -exec sudo rm -rf {} +%RST%
goto :eof
REM Remove folder-level @eaDir on the pasted Windows path (same files as NAS over SMB).