"find" linux 命令的用法
Usage of "find" linux command
我的问题是关于 linux 命令的。我需要找到所有“.sh”文件,我需要自动删除所有以“.sh”扩展名结尾的文件。任何人都可以通过提供合适的 linux 命令来帮助我吗?
find . -type f -name '*.sh' -exec rm {} \;
我的问题是关于 linux 命令的。我需要找到所有“.sh”文件,我需要自动删除所有以“.sh”扩展名结尾的文件。任何人都可以通过提供合适的 linux 命令来帮助我吗?
find . -type f -name '*.sh' -exec rm {} \;