Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

1.1.1

History Node

1.1.0

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
grepath-1.1.1-py2.py3-none-any.whl (6.3 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 20, 2017
grepath-1.1.1.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Mar 20, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting