
shell
S5林风
拥有无尽的好奇心喜欢追寻探索
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
删除多级目录下的一类文件
命令:$ find -name ".git" -exec rm {} \;-exec 把find到的文件名作为参数传递给后面的命令行,代替{}的部分 -exec后便跟的命令行,必须用“ \;”结束扩展:$find . -name "*cpp" -exec grep "test" {} \; -print原创 2016-03-08 23:16:23 · 604 阅读 · 0 评论 -
adb 命令补全
#!/bin/sh# /* vim: set ai ts=4 ft=sh: */## Copyright 2011, The Android Open Source Project## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in转载 2016-02-26 11:25:33 · 4575 阅读 · 1 评论