3 ms·
dd has progress built in, under Linux it is kill -USR1 <pid> to get a progress report, the signal varies by OS. cp has a -v option, if tahts not enough rsync ha
by justincormack 12y ago
dd has progress built in, under Linux it is kill -USR1 <pid> to get a progress report, the signal varies by OS. cp has a -v option, if tahts not enough rsync has a --progress option too that gives within file progress.
- daw___ 12y ago`cv` is a coreutils viewer, rsync is not included in coreutils.
- justincormack 12y agocv is not included in coreutils either, so I still have to install something.
- scarygliders 12y agoAnd dcfldd (not a coreutils app you have to install it separately) gives you a progress report, as well as using all the usual dd syntax.
- midko 12y agoTo expand the parent comment, in Terminal (OS X), Ctrl-T prints the progress of dd and cp so you needn't look up their PIDs
- skore 12y agoIf anybody is using dd to rescue a failing drive, I can very much recommend using the spectactular ddrescue instead. I had a 2TB drive turn up five figure error rates (Raw Read Error rate ended up at 90k - when I started, it was already no longer possible to mount it, but it did show up in /dev) and thought I had lost an entire year of family pictures (mea culpa on not having a backup, of course). It took four months, 24/7 of meticulous work, but it ended up giving me a near perfect copy to an identical drive (save for ~20kb of truly dead sectors). Amongst many other features, it has a logfile where it keeps track of the overall process - so that it can be killed or paused and restarted later.