Skip to content

Instantly share code, notes, and snippets.

@mrtmexx
Last active March 1, 2017 06:27
Show Gist options
  • Save mrtmexx/fd59ebaeb84301d92f377df0381c76f2 to your computer and use it in GitHub Desktop.
Save mrtmexx/fd59ebaeb84301d92f377df0381c76f2 to your computer and use it in GitHub Desktop.
#!/bin/bash
for OUTPUT in $(find . -type d -maxdepth 1)
do
echo $OUTPUT $(ls -t $OUTPUT | wc -l)
echo $OUTPUT $(find $OUTPUT -type f | wc -l)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment