用rm递归递归删除子目录下所有.o后缀文件

1. 递归删除文件

find . -name “*.o”  | xargs rm -f


可以通过管道命令来操作,先find出主目录 下想删除的文件,然后通过“xargs”这个构造参数列表并运行命令。

find named/ -name *.bak | xargs rm -f

2. 递归删除目录

目录的话,需要添加 -r

find . -name “Build”  | xargs rm -rf


https://blog.csdn.net/skylin19840101/article/details/75099240

HOW TO DOWNLOAD THE LATEST RELEASE FROM GITHUB

GitHub Releases are a great resource for open source projects to expand on the simple git tag concept. You can add release notes in Markdown format, and you can upload finalized assets – such as compiled executables.

As a user I had the question – how do I script “download the latest release, please?”

Continue reading “HOW TO DOWNLOAD THE LATEST RELEASE FROM GITHUB”