blob: 330326d5136f39b431850a7957886fa869a41aca [file] [log] [blame]
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