-
-
Save andrewrembrandt/8036b1250060a093443f32b2fb83f7ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find ~/.ivy2/cache -iregex '.*/docs/.*\.jar' | while read line; do | |
echo "Extracting $line" | |
filename=${line##*/} | |
dirname=${filename%.*} | |
mkdir -p $dirname | |
cd $dirname | |
jar xf $line | |
cd .. | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment