From b8142de5d2f804d70a04d80d30ac945c2b21794c Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Wed, 15 Nov 2023 15:01:53 +0100 Subject: Fix shell snippet --- content/shell-snippets.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/shell-snippets.md') 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 - ``` -- cgit v1.3.1