Skip to main content

smart-find

smart-find makes it easier to access the advanced features of find and grep.

Usage

Use the -help option to show the smart-find usage.

    $ 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>

configuration

smart-find follows the conventions of macOS and Linux XDG to look for configuration files.

You can see the default configuration file path in the smart-find -help output

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

Use the smart-find -save-config to create a config file with the default configuration options:

The default configuration is:

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

The following items are supported:

  • folders_to_prune is a list of folders that will be ignored
  • files_to_prune is a list of file patterns that will be ignored

Metadata

Release files for smart-find 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smart-find 1.0.5
File Size Uploaded
smart-find-1.0.5.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smart-find 1.0.5
File Interpreter ABI Platform
smart_find-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / smart-find-1.0.5.tar.gz

Download URL smart-find-1.0.5.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98ed70c14595554c23310bdb9048bd65c80e351477b7a4e5e7c051b0217e1861
BLAKE2b-256 checksum
How to use checksums
afb91d3c98e5044fcd89d5c0e1c1f0cd8aafbe52ad3ee8f19e6d55dc66eb44f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / smart_find-1.0.5-py3-none-any.whl

Download URL smart_find-1.0.5-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c043349a499d3304a96b64e7d3ae02e36668818c2a298b6d626cce7f8e2bd259
BLAKE2b-256 checksum
How to use checksums
d8e2f917bc2d3eb3c910ea847a79ef96582770df234e720b9d7e9fa15d984864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

1 release file

1.0.3

1 release file

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page