聪明发现

smart-find的Python项目详细描述


智能查找

智能查找使访问 找到格雷普。

用法

使用-help选项显示智能查找用法。

    $ smart-find -help
    Usage: smart-find

        -help               - print this help
        -contains (-c)      - grep for string in found files
        -ignore-case (-i)   - ignore case when greping
        -iname (-in)        - ignore case of filenames
        -save-config        - write the default config
                              into /Users/barry/Library/Preferences/smart-find.json
        -debug              - print the find command line
        -<int>              - limit find to a max depth of <int>

配置

smart find遵循macos和linux xdg的约定来查找配置文件。

您可以在smart-find -help输出中看到默认配置文件路径

  • macos-~/Library/Preferences/smart-find.json
  • Linux-~/.config/smart-find.json

使用smart-find -save-config创建默认配置文件 配置选项:

默认配置为:

{"folders_to_prune":[".svn",".git",".hg"],"files_to_prune":["*~"]}

支持以下项目:

  • 文件夹修剪是将被忽略的文件夹列表
  • files_to_prune是将被忽略的文件模式列表

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java检查服务器端广告查看(php)   Java将注释的使用限制在某些类型的方法上?   java使用gson重用顶级模型   当Java Spring作为Docker容器运行时,它不会与Concur对话   通过Java在不使用新URL()的情况下加载文件   Dicom4che调用的java结果不显示umlaut字符   java Updatea使用php/codeigniter使用ajax/javascript映射标记   Java8中的javaspringboot@ExceptionHandler未被访问   java如何读取长度未知的用户输入?   EclipseJava在MacBook和OSX上的性能非常差,而在Windows下在同一个单元上的性能就不那么差了,为什么?   java在Lucene查询语法中与+有什么区别   使用Spark和Cassandra Java驱动程序时检测到番石榴问题#1635   java工具栏标题未显示在选项卡式活动中