summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 -
```