#!/bin/sh tar cvf - "$1" | pv -s $(du -sb "$1" | cut -f1) | gzip > "${1%/}.tar.gz"