From 8470fd7173c6be28c85d1202baac254093522bfe Mon Sep 17 00:00:00 2001
From: David Peter <sharkdp@users.noreply.github.com>
Date: Mon, 11 Feb 2019 21:38:18 +0100
Subject: [PATCH] Add "Integration with other tools" section

---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index f4f723f3..56678bd0 100644
--- a/README.md
+++ b/README.md
@@ -91,6 +91,20 @@ bat -n main.rs  # show line numbers (only)
 bat f - g  # output 'f', then stdin, then 'g'.
 ```
 
+### Integration with other tools
+
+#### `find` or `fd`
+
+You can use the `-exec` option of `find` to preview all search results with `bat`:
+```bash
+find … -exec bat {} +
+```
+
+If you happen to use [`fd`](https://github.com/sharkdp/bat), you can use the `-X`/`--exec-batch` option to do the same:
+```bash
+fd … -X bat
+```
+
 ## Installation
 
 ### On Ubuntu