linux - 如何将 Linux Shell 中的 delete 和 find 命令重写为 Window 命令提示符?

标签 linux shell command-line window command-prompt

我有以下适用于 Linux 的 Shell 命令,我需要重写它以便 Window 在 prompt 命令提示符中使用。

find . -name \*.uncompressed.js -type f -delete and find . -name \*.js.map -type f -delete

目前我正在使用

del /s *.uncompressed.js and del /s *.js.map

但不起作用。

知道哪里出了问题吗?

最佳答案

对于 Windows 命令行,您需要两个单独的语句。

del /s *.uncompressed.js
del /s *.js.map

关于linux - 如何将 Linux Shell 中的 delete 和 find 命令重写为 Window 命令提示符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28567591/

相关文章:

linux - 我可以在 centos 64 位中降级 gcc 吗?

linux - mod-mono-server4 和 FileNotFoundException

c - 使用带套接字的拼接可能会导致饥饿

python - 激活 venv 并从 shell 脚本运行 python 脚本

linux - git push 使用 crontab 每小时提示密码

php - 如何使用PHP或Linux脚本找到PDF的方向?

bash - 我已经重定向了 stdout 和 stderr,为什么我仍然得到一些输出?

linux - 如何在 Linux 中更改 echo 的输出颜色

c++ - 获取命令行() : unable to pass multiline arguments from batch-file (GCC-Compiler)

ios - TACO 不会使用指定的 --device 参数远程构建 ios