{"id":63,"date":"2007-09-03T13:46:10","date_gmt":"2007-09-03T12:46:10","guid":{"rendered":"http:\/\/www.treg.be\/blog\/index.php\/2007\/09\/03\/dd-progress\/"},"modified":"2007-09-03T13:48:08","modified_gmt":"2007-09-03T12:48:08","slug":"dd-progress","status":"publish","type":"post","link":"https:\/\/www.treg.be\/blog\/2007\/09\/dd-progress\/","title":{"rendered":"DD progress"},"content":{"rendered":"<p>Sometimes, copying big files\/volumes with DD takes much time. With this simple script, you &#8216;ll see the progress of the copying process (in MB). (<a href=\"http:\/\/www.emcken.dk\/weblog\/archives\/36-Show-progress-of-dd.html\">source<\/a>)<\/p>\n<pre><code>dd if=\/boot.img.gz of=\/dev\/sda -pg bs=1M 2&gt;&amp;1 | perl -e 'print $i++.\" MBn\" while(read(STDIN,$c,3));'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, copying big files\/volumes with DD takes much time. With this simple script, you &#8216;ll see the progress of the copying process (in MB). (source) dd if=\/boot.img.gz of=\/dev\/sda -pg bs=1M 2&gt;&amp;1 | perl -e &#8216;print $i++.&#8221; MBn&#8221; while(read(STDIN,$c,3));&#8217;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-howtos","category-linux"],"_links":{"self":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.treg.be\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}