Skip to content

Instantly share code, notes, and snippets.

@codepope
Created March 9, 2017 11:59
Show Gist options
  • Save codepope/52bebf0749744d3b08a201d1ed4c955a to your computer and use it in GitHub Desktop.
Save codepope/52bebf0749744d3b08a201d1ed4c955a to your computer and use it in GitHub Desktop.
Extract the minimum needed for cqlsh from scylla-tools-java
# Call as
#
# sh mycqlshmin.sh newdirname scylla-tools-java-dir
# Will make name directory, copy minimum files in for cqlsh to run
#
mkdir $2 $2/bin $2/lib
cp $1/bin/cqlsh $2/bin
cp -r $1/pylib $2
cp $1/lib/*.zip $2/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment