When I use just the wget aspect of the command, it dumps a bunch of jargon to my terminal, so I think that means I have the "stdout" aspect of that command right.
this post was submitted on 29 Aug 2024
1 points (100.0% liked)
Bash
876 readers
1 users here now
Talk about the Bash Shell and Bash scripting
founded 4 years ago
MODERATORS
I think you just need to redirect¹ stdout from bzip2 to a file.
wget -qO- "https://opnsense.com/.../img.bz2" | bzip2 -dv > img
1: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_07