Skip to content

Instantly share code, notes, and snippets.

@paulbrodner
Created July 31, 2018 12:01
Show Gist options
  • Select an option

  • Save paulbrodner/4d688ff1dd6e2af07f57ab2ff14e4cf8 to your computer and use it in GitHub Desktop.

Select an option

Save paulbrodner/4d688ff1dd6e2af07f57ab2ff14e4cf8 to your computer and use it in GitHub Desktop.
find . -name "*.jar" -type f -printf "%f\n" |sort | uniq -c > jars.txt
#count
find . -name "*.jar" -type f -printf "%f\n" |sort | uniq -c | wc -l >> jars.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment