Summarize ebooks files in a given directory and subdirectories by using this simple shell script and your preferred AI agent.
This script generates AI agent files:
- plan.md: the high-level AI agent instructions
- tasks.md: the low-level list of each ebook file to process
Syntax:
summarize-ebook-files.sh <directory>
Example:
summarize-ebook-files.sh ~/path/to/ebooks
Output files:
plan.md
tasks.md