Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 68 lines (55 sloc) 2.54 KB
name: efind
author: Miroslav Safr <miroslav.safr@gmail.com>
web: http://safrm.net/projects/efind
description: extended recursive search for documents, searching in filenames & contents, case in/-sensitive, with whitespaces support and optimized for git checkout repos
content:
cppfind .................. c++ files recursive search
docfind .................. doc, docx, rtf, odt files recursive search
gcfind ................... giot configs files recursive search
htmlfind ................. htm,html files recursive search
javafind ................. java files recursive search
pdffind .................. pdf files recursive search
pptfind .................. ppt, odp files recursive search
pyfind ................... textfind wrapper for python files
shfind ................... shell script files recursive search
specfind ................. rpm spec files recursive search
txtfind .................. text files recursive search
xmlfind .................. xml files recursive search
efind .................... combined search
install.sh ............... install script
usage1:
#single document type search
$ cppfind <what> [<where>]
usage2:
#multiple document type search
$ efind <what> [<where>]
install Ubuntu:
1. add release key
wget -O - http://safrm.net/releases/Release.key | sudo apt-key add -
2. get package
wget http://safrm.net/releases/efind/efind_1.0.0-1_all.deb
3.install package
sudo dpkg -i ./efind_1.0.0-1_all.deb
install Fedora/RHEL:
1. add release key
sudo rpm --import http://safrm.net/releases/Release.key
2. get package
wget http://safrm.net/releases/efind/efind-1.0.0-1.noarch.rpm
3.install package
sudo rpm -i ./efind-1.0.0-1.noarch.rpm
testing:
string2find
test/
String2find
efind $ ./shfind "search in"
searching 'search in' in efind (1/10)=11 (.sh/-) files
/media/p/work/mirek-open/efind/cppfind: # recursive search in cpp,h files
/media/p/work/mirek-open/efind/efind: # extended recursive search in pdf, html, ppt files
/media/p/work/mirek-open/efind/htmlfind: # recursive search in html files
/media/p/work/mirek-open/efind/javafind: # recursive search in java files
/media/p/work/mirek-open/efind/pdffind: # recursive search in pdf files
/media/p/work/mirek-open/efind/shfind: # recursive search in sh files and sh scripts without extension
/media/p/work/mirek-open/efind/pptfind: # recursive search in ppt
/media/p/work/mirek-open/efind/txtfind: # recursive search in txt files
/media/p/work/mirek-open/efind/xmlfind: # recursive search in xml
/media/p/work/mirek-open/efind/docfind: # recursive search in docx