📌 📄 内容摘要:
SuperDAJB (@zzzdajb) 在 该死的CodeX删了我几百G文件! 中发帖
事情的起因总是如此悲伤——
• Ran $workspace = (Resolve-Path '.').Path; $target = (Resolve-Path '.\.cache').Path; if (-not $target.StartsWith($workspace, [System.StringComparison]::OrdinalIgnoreCase)) { throw "Refusing to delete path outside workspace:
│ $target" }; & takeown /f $target /r /d y; & icacls $target /grant Administrators:(OI)(CI)F /t /c; & cmd /c "rd /s /q \"$target\""; Write-Output ...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/1854043/1 ─────────────────────────────
📢 来源:LINUX DO