grepath 0.0.2
grepath - find executables in PATH that match PATTERN
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/dvipdfTo 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.exeIf *.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
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| grepath-0.0.2.tar.bz2 (md5) | Source | 2010-10-14 | 5KB | 307 | |
| grepath-0.0.2.zip (md5) | Source | 2010-10-14 | 6KB | 290 | |
- Author: zed
- Home Page: http://gist.github.com/79233
- License: MIT
- Platform: Windows,Linux
-
Categories
- Development Status :: 2 - Pre-Alpha
- Environment :: Console
- Intended Audience :: Developers
- Intended Audience :: End Users/Desktop
- Intended Audience :: System Administrators
- License :: OSI Approved :: MIT License
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 2
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: System :: Systems Administration
- Topic :: Utilities
- Package Index Owner: zed
- DOAP record: grepath-0.0.2.xml
