A tool for searching the filesystem
Project description
ff
About
ff
is a tool for searching the filesystem. It was inspired by
fd.
ff
is in the early stages of development, expect things to break and syntax
to change.
Summary
ff
lets you search the filesystem using a sequence of expressions. Its scope
is similar to find(1)
and fd(1)
but it tries to be more accessible and
easier to use than find
and and more versatile and powerful than fd
.
It is inspired by and borrows many ways of doing things from fd
. It is
written in Python.
It features parallel processing, many different ways of output, sorting, an extensible plugin framework and many more things.
Examples are here.
Installation
To build and install ff
simply type:
$ python setup.py install
This installs the python sources, the ff
script, the man page and a set of
plugins.
To build a slightly faster version of ff
you can use
cython:
$ CYTHONIZE=yes python setup.py install
Developing plugins and debug mode
There is a template for new plugins to start from (plugin_template.py
) with
exhaustive instructions and comments, so you can develop plugins for your own
needs.
Useful in that regard is ff
's debug mode. It can be activated by starting
ff
as a script using the python
executable:
$ python /usr/bin/ff --debug info,cache ...
Debug mode produces lots of messages which can be limited to certain categories
using the --debug category1,category2,...
option. On top of that, debug mode
activates many internal checks using assert()
. Therefore, it is advisable to
use debug mode during plugin development.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file find-ff-514.tar.gz
.
File metadata
- Download URL: find-ff-514.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b74f9267ebda1ce587a4cd7b34d04d4f3090f4c084b26ad97c14c6ab6713bf2 |
|
MD5 | f89e5eb9dec325508b51d83ab0a79792 |
|
BLAKE2b-256 | 82fd8849ee7bd0a2cf6c451e75580016f964459f8569897eb23196e9dd73dc2c |
File details
Details for the file find_ff-514-py3-none-any.whl
.
File metadata
- Download URL: find_ff-514-py3-none-any.whl
- Upload date:
- Size: 83.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b380ddd688aa73b609e16523c05241f2e2841400df144ef5fbb9fb4c67381881 |
|
MD5 | ece861d061c03503e31378cb91b5dd9a |
|
BLAKE2b-256 | 674dccd7f95701d8930d920b0adea880ae6c492d8e95439bf98fedfcabe5d5f5 |