Have you ever wanted to find a particular slide somewhere in your pile of
PowerPoint files? This script lets you search for text in .pptx
files.
Search for a Perl-style regular expression pattern
:
pptxgrep pattern *.pptx
# case insensitive
pptxgrep -i pattern *.pptx
# more context
pptxgrep --context 200 pattern *.pptx
The script shows the matching filename and slide number,
along with up to 100 characters of context before and after the match.
You can increase the context window via --context
.