iso to USB with dd and show progress status

image="file.iso";drive="/dev/null";sudo -- sh -c 'cat '"${image}"'|(pv -n -s $(stat --printf="%s" '"${image}"')|dd of='"${drive}"' obs=1M oflag=direct) 2>&1| dialog --gauge "Writing Image '"${image}"' to Drive '"${drive}"'" 10 70 7'
Does the same but shows nicely progress in real time with correct Size in %. But also needs the packages sudo,dd,pv and dialog.

0
By: fries
2019-07-25 11:11:45

What Others Think

Good to know about this. It was too informative for me to know about such codes and to know what are the possible ways to implement this one. cbd oil for stress relief I am thankful for you sharing this one with us.
zaiyamariya · 26 weeks ago
This is really a good option for the programming people as they share everything that is related to programming www.topveganeats.com and here they have shared the code which is used to convert ISO to USB with DD and they have also shown their progress status of it
Juvanta · 16 weeks and 6 days ago
I think I need more information home health care el paso
aegyjingoo · 11 weeks and 3 days ago
Progress is still progress guys cryo chattanooga
geebranz · 5 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: