title: How to turn command output to a live status update?
body: <p>I am curious if there's a tool or an easy way to continually execute a certain command in given intervals, and reprint its output into same place on the screen.</p>
  
  <p>The example that prompted me to think about it is 'dropbox-cli status'. Manually executed:</p>
  
  <pre><code>$&gt; dropbox-cli status
  Syncing (6,762 files remaining)
  Indexing 3,481 files...
  $&gt; dropbox-cli status
  Syncing (5,162 files remaining)
  Indexing 2,681 files...
  </code></pre>
  
  <p>I am looking for:</p>
  
  <pre><code>$&gt; tracker --interval=1s "dropbox-cli status"
  Syncing (6,743 files remaining)
  Indexing 3,483 files
  </code></pre>
  
  <p>The imaginary command 'tracker' would block and the two output lines would be continually reprinted over every second, rather than creating an appending log output.</p>