Skip to main content

grepath - find executables in PATH that match PATTERN

Project description

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

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

grepath-1.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grepath-1.1.1-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file grepath-1.1.1.tar.gz.

File metadata

  • Download URL: grepath-1.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grepath-1.1.1.tar.gz
Algorithm Hash digest
SHA256 446222a2bd73731938e3b1b674dd650b9e9c06d3000ccc6ddfff3d5bab356453
MD5 20bb0052f1bae6c624877c6a373d1d15
BLAKE2b-256 6e61b53d1c9ce32ab998ac2d1fc0a0fd692534b2b4ab7a810321c938e0fea5a4

See more details on using hashes here.

File details

Details for the file grepath-1.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for grepath-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ce7be508d86ebe9abca47e98661e31d1d46ebc70a3b031293e1303190b570c2
MD5 f35dc79d3cdff42cc01b1880e24df7fe
BLAKE2b-256 169ff17e071db6db87eb1b10045ed708d852c38e5a34161556b922437cd5110f

See more details on using hashes here.

Supported by

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