Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mossme89

macrumors 6502a
Original poster
Jul 2, 2009
596
131
It bugged me that there really is no convenient way to keep tabs on your time machine backup other than typing "tmutil status" in the terminal every so often. So I wrote a script to track the progress.

Here's what it looks like:
Code:
Total number of iterations is 8 and the time between is 5 seconds.
The new percentage is 6.93885
The difference is 0.18381
Average Difference: 0.180406
New MBs transferred:  122
Total MBs transferred:  3362
Avg MB transferred b/w runs: 90.75
-----------------

If you would prefer KB (sometimes it's a good idea because it can get stuck copying lots of small files), I added that too:

Code:
Total number of iterations is 4 and the time between is 2 seconds.
The new percentage is 4.0919
The difference is 0.17964
Average Difference: 0.11802
New KBs transferred:  88236
Total KBs transferred:  2009864
Avg KB transferred b/w runs: 51813
-----------------

The script is on Github here:
https://github.com/kgor93/TimeMachineProgressMonitor

All you would need to do is download it, run "chmod +x tmpct.sh" to add write permissions and then run it with the syntax:
./tmpct.sh <sleep time in seconds between iterations> KB|MB

For example,

./tmpct.sh 5 MB
5 second iteration intervals and the changes are tracked in MB.

It DOES create a folder called "tmscript" which is where the logs are stored that it uses for calculations, so keep that in mind.

Hope this helps!
 
Last edited:
  • Like
Reactions: EedyBeedyBeeps
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.