summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2023-11-15 15:01:53 +0100
committerMiran Bastaja <miran.bastaja04@gmail.com>2023-11-15 15:01:53 +0100
commitb8142de5d2f804d70a04d80d30ac945c2b21794c (patch)
tree474e75f131a39c95538663b0e34fb97ae92cbe8e
parentb765c39c8f78587804cde2f5b4ec0da8f3ffe864 (diff)
Fix shell snippet
-rw-r--r--content/shell-snippets.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/shell-snippets.md b/content/shell-snippets.md
index 257cc0b..72a1686 100644
--- a/content/shell-snippets.md
+++ b/content/shell-snippets.md
@@ -3,7 +3,8 @@ title = "Shell snippets"
+++
## Scraping images from open tabs
```zsh
-jaq --raw-output --from-file export.json '..["url"]? | strings' \
+cat export.json \
+ | jaq --raw-output '..["url"]? | strings' \
| rg --fixed-strings "wallhaven.cc/w" \
| gallery-dl --input-file -
```