Smart find
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for smart_find-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b92f5bb796a5c25443338f9166d0828a8f6244905a0cef47547998efda5edc |
|
MD5 | 25e506c70e16365754fb7b073cc46b02 |
|
BLAKE2b-256 | e2c09cdd4771b7203cf4f218e221bd9b5fb6111f59b823ce27aa7fb80d068e36 |