afind
is simple wrapper around search utilities like The Silver Searcher (ag
).
It add additional functionality and is easy to extend.
-
Install
python
,ag
andpatch
utilities -
Clone repository
https://github.com/artas90/afind.git
-
Build single script
$ python makeonefile.py
-
Make a link symlink in any bin folder
$ ln -sv `pwd`/dist/af.py /usr/local/bin/af
See af --help
to see options of original utility
-nG
- Reverse to -G
, parameter to exclude files from search
--atom
, --subl
- Open all files with results in text editor
--make-patch
, --apply-patch
- Useful for batch file editing
Original output parameters like --[no]color
or --column
is not supported yet