On 4/10/26 09:28, nwe wrote:
On 4/9/26 8:45 AM, Teemu Likonen wrote:

Or with "pv":

     gzip -dc file.gz | pv --sync --output /dev/whatever -

So one drawback with this, that I ran into is:

nwe@deb13:~$ pv
bash: pv: command not found

For anyone working a lot on isolated "air-gapped" networks with no quick easy access to the apt repositories, pv is thus less useful.

I don't recall having ever had to install dd. I installed pv and skimmed over its man page. Yes, I can see it looks useful. While depending on dd gets me the benefit of being able to expect it is going to be there when I need it without having to install it first.


I try to use with "lowest common denominator" tools for backups, archives, images, etc., so that the tools are available "out of the box" on the platforms I use -- Linux (including Debian), BSD, Cygwin, and MacOS -- sh(1), bash(1), tar(1), gzip(1), dd(1), etc.. That said, some platforms do require additional packages/modules -- ssh(1), sshd(8), rsync(1), perl(1), various Perl modules, etc.. I have looked at newer tools that offer parallel computation via multi-core/thread processors, and either have found that they are missing on one or more platforms or have wondered if they would be around in 10, 20, etc., years.


David

Reply via email to