Created
March 6, 2017 17:00
-
-
Save modille/dd069f6cd6fefdf3601fe88d1c292ff3 to your computer and use it in GitHub Desktop.
Revisions
-
modille created this gist
Mar 6, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # convert *.xlsx to *.xlsx.csv using https://github.com/dilshod/xlsx2csv pip install xlsx2csv # (shell-fu from http://stackoverflow.com/a/12965604) find . -iname "*.xlsx" -exec sh -c 'xlsx2csv "$1" > "$1.csv"' x {} \; # grep .csv files brew install ripgrep rg -i -g "*.csv" "waldo" # ...or plain ole grep grep -ir --include "*.csv" "waldo" .