#!/bin/bash while true; do echo -ne "$(du -sh -BM $1)\r"; sleep 1; done