Skip to main content

grepath utility prints full path to executables that match given file-pattern or regular expression.

Examples:

  • To print executables that contain ‘pdf’ anywhere in their name:

    $ grepath pdf
    /usr/bin/ps2pdf12
    /usr/bin/ps2pdf13
    ...[snip]...
    /usr/bin/simpdftex
    /usr/bin/dvipdf
  • To find executables that don’t have ‘e’ after ‘win’ in their name:

    C:\> grepath -e "win[^e]"
    C:\windows\system32\winhlp32.exe
    C:\windows\system32\winver.exe
    C:\windows\winhlp32.exe
    C:\windows\winhelp.exe

    If *.py files are not associated with python.exe then the script can be invoked using:

    C:\> python \path\to\grepath.py --help

To print all available options, type:

$ grepath --help

Files are licensed under the MIT License. See the file MIT-LICENSE.txt for details.

The latest version is at http://gist.github.com/79233

Metadata

Release files for grepath 1.1.1

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

Source distribution (sdist)

Source distribution for grepath 1.1.1
File Size Uploaded
grepath-1.1.1.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grepath 1.1.1
File Interpreter ABI Platform
grepath-1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.5 kB

Release files / grepath-1.1.1.tar.gz

Download URL grepath-1.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
446222a2bd73731938e3b1b674dd650b9e9c06d3000ccc6ddfff3d5bab356453
BLAKE2b-256 checksum
How to use checksums
6e61b53d1c9ce32ab998ac2d1fc0a0fd692534b2b4ab7a810321c938e0fea5a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grepath-1.1.1-py2.py3-none-any.whl

Download URL grepath-1.1.1-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6ce7be508d86ebe9abca47e98661e31d1d46ebc70a3b031293e1303190b570c2
BLAKE2b-256 checksum
How to use checksums
169ff17e071db6db87eb1b10045ed708d852c38e5a34161556b922437cd5110f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

1 release file

0.0.2

2 release files

0.0.1

1 release file

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