Skip to content

erikdejonge/locatebash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

locate

Bash locate combines mdfind and locate

Output is sorted Optional show the folders

##usage

Call mdfind to do a quick search

Usage:
  locate.py [options] <query>...

Options:
  -h --help       Show this screen.
  -f --folders    Show folders seperately

example output

$ locate pycrypto.py -f

[pycrypto.py](1):
/Users/rabshakeh/workspace/cryptobox/cryptobox_app/pyinstaller/tests/libraries/test_pycrypto.py
/usr/local/lib/python3.4/site-packages/jwt/contrib/algorithms/pycrypto.py

[pycrypto.py] Folders:
/Users/rabshakeh/workspace/cryptobox/cryptobox_app/pyinstaller/tests/libraries
/usr/local/lib/python3.4/site-packages/jwt/contrib/algorithms

About

Bash locate combines mdfind and locate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages