News for hackers. Stuff that matters.
Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by justincormack on Saturday July 12, 2014 @05:07AM (#8024090)
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.
Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by skore on Saturday July 12, 2014 @02:25PM (#8025350)
If 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.

Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by midko on Saturday July 12, 2014 @06:44AM (#8024209)
To 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
Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by scarygliders on Saturday July 12, 2014 @06:18AM (#8024177)
And 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.
Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by daw___ on Saturday July 12, 2014 @05:15AM (#8024100)
`cv` is a coreutils viewer, rsync is not included in coreutils.
Re:Show HN: Linux tool to show progress for cp, rm, dd, etc. by justincormack on Saturday July 12, 2014 @05:39AM (#8024120)
cv is not included in coreutils either, so I still have to install something.