summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/push.sh
blob: 330326d5136f39b431850a7957886fa869a41aca (plain)
1
2
3
4
5
6
7
8
mkdir -p dats
cd dats
tar -xvf ../dat.gz
for T in $(ls *.dat); do
  cqlsh -e "use authz; COPY ${T%.dat} FROM '$T' WITH DELIMITER='|';"
done
cd -
rm -Rf dats