handle nested dirs
This commit is contained in:
+5
-2
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user