Skip to main content

zoek - find files and directories

code coverage

zoek (Dutch for "search") is a Python library and command-line utility aiming to duplicate and extend the functionality of the find command-line utility.

Installation

pip can be used to install zoek:

pip install zoek

However, we recommend to install zoek using pipx:

pipx install zoek

Usage

zoek can be used as a command-line utility as follows:

zoek <dir>

zoek currently supports the following flags:

  • --depth or -d to indicate the depth of directories and files to return (default: 1):
zoek <dir> -d <int>
  • --startswith or -s to return files and directories starting with the provided string:
zoek <dir> -s <str>
  • --contains or -c to return files and directories that contain the provided string:
zoek <dir> -c <str>
  • --minsize or -m to filter output on size, a positive int returns files equal or larger, a negative int returns files smaller than input:
zoek <dir> -m <int>
  • --datecreated or -dc to filter output on time created, a positive int returns files created more than int minutes ago, a negative int return files less than int minutes ago:
zoek <dir> -dc <int>
  • --datemodified or -dm similar to --datecreated, but then for filtering date modified:
zoek <dir> -dc <int>

As filters stack, multiple flags can be used simultaneously.

Contributing

Please refer to CONTRIBUTING.md

License

BSD-3

Metadata

Release files for zoek 0.0.3

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

Source distribution (sdist)

Source distribution for zoek 0.0.3
File Size Uploaded
zoek-0.0.3.tar.gz 4.5 kB Details

Release files / zoek-0.0.3.tar.gz

Download URL zoek-0.0.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7339b94851d536be0913821bbc64863a5d152b14503f1989cd653531758ec123
BLAKE2b-256 checksum
How to use checksums
292f3bb83d3c0afe198e316c81de32533d42178d4518a25709af71aa73f417b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

2 release files

0.0.1

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