Skip to content

Instantly share code, notes, and snippets.

@cbednarski
Created August 8, 2013 03:15
Show Gist options
  • Save cbednarski/6181146 to your computer and use it in GitHub Desktop.
Save cbednarski/6181146 to your computer and use it in GitHub Desktop.
When untarring a ton of files at once and you want to see when they finish
watch -d "find /opt/artifacts -mindepth 1 -maxdepth 1 -type d | wc -l | tr -d '\n' ; echo -n ' / ' ; find /opt/artifacts -mindepth 1 -maxdepth 1 -type f | wc -l"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment