3 ms·
That is not so portable, so I recommend sticking with dd.
by inopinatus 4y ago
That is not so portable, so I recommend sticking with dd.
- jhugo 4y agoYup, `dd` helps in a lot of situations when you need portability, not just this one. Commands like `cp --sparse=always` aren't worth such a blanket disrecommendation though; if you are working directly at a console as opposed to scripting you typically don't need portability.
- inopinatus 4y agoAgain, most of the consoles I work at don’t use GNU coretools.
- jhugo 4y agoThen you obviously can't use this, but many people reading my suggestion can.