Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

find-ff-514.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

find_ff-514-py3-none-any.whl (83.3 kB view details)

Uploaded Python 3

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

Hashes for find-ff-514.tar.gz
Algorithm Hash digest
SHA256 1b74f9267ebda1ce587a4cd7b34d04d4f3090f4c084b26ad97c14c6ab6713bf2
MD5 f89e5eb9dec325508b51d83ab0a79792
BLAKE2b-256 82fd8849ee7bd0a2cf6c451e75580016f964459f8569897eb23196e9dd73dc2c

See more details on using hashes here.

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

Hashes for find_ff-514-py3-none-any.whl
Algorithm Hash digest
SHA256 b380ddd688aa73b609e16523c05241f2e2841400df144ef5fbb9fb4c67381881
MD5 ece861d061c03503e31378cb91b5dd9a
BLAKE2b-256 674dccd7f95701d8930d920b0adea880ae6c492d8e95439bf98fedfcabe5d5f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page