Skip to content

Instantly share code, notes, and snippets.

@dweinstein
Created December 10, 2013 00:24
Show Gist options
  • Select an option

  • Save dweinstein/7883683 to your computer and use it in GitHub Desktop.

Select an option

Save dweinstein/7883683 to your computer and use it in GitHub Desktop.
index a directory of apks by creating symlinks named by apk's sha1
find $1 -name '*.apk' -exec shasum -a1 {} \; | awk '{print $2 " " $1}' | xargs -r -n2 ln -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment