[yast-devel] Tip: Write a compressed file system image with a progress report without a temporary file
15 Jun
2018
15 Jun
'18
13:48
xzsize() { xz --robot --list "$1" | awk '/^file/ { print $5 }'; } XZ=img.xz; xzcat "$XZ" | pv -s $(xzsize "$XZ") | dd bs=1M conv=fsync of=/dev/sdcard I've used this to test a recent Raspberry Pi image. -- Martin Vidner, YaST Team https://twitter.com/mvidner/status/1007193514441142273
2142
Age (days ago)
2142
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Vidner