Skip to content

Instantly share code, notes, and snippets.

@alopatindev
Created June 17, 2015 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alopatindev/2abd79d14096ded537a0 to your computer and use it in GitHub Desktop.
Save alopatindev/2abd79d14096ded537a0 to your computer and use it in GitHub Desktop.
Decompile recursively directory with *.class files
#!/bin/bash
P=$(pwd)
for d in $(find . -type d); do
cd "$P/$d"
for f in *.class; do
yes n | jad -s '.java' "$f"
done
done
cd "$P"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment