Skip to content

Instantly share code, notes, and snippets.

@ZeevoX
Last active March 10, 2018 23:40
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 ZeevoX/3746069a712d069037650dbfc084f46c to your computer and use it in GitHub Desktop.
Save ZeevoX/3746069a712d069037650dbfc084f46c to your computer and use it in GitHub Desktop.
Filter odexed APKs
#!/bin/bash
FOLDER=$PWD
ANOTHER='new'
mkdir $ANOTHER
find "$FOLDER" -type f -iname '*.apk' | while read FILE; do
unzip -lqq "$FILE" 'classes.dex' >/dev/null && mv -v "$FILE" "$ANOTHER"/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment