Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好我正在寻找类似于 Linux 中此命令的命令:
rm -fRv 调试/*
此命令删除调试中的所有文件和目录,但不删除调试目录。
如何在 Windows 中使用 CMD 执行此操作?
再见
for /d %x in (debug\*) do @rd /s /q "%x" del /s /f /q debug\*
对我来说似乎:
del /S /Q debug\*
(不过,题外话,我使用的是 MinGWrm命令,它的工作原理与 Linux 下的相同。)
rm