Source

pythonwise / pandas-validation / nuke.sh

1
2
3
4
5
#!/bin/bash

for step in pre post; do
    psql -c 'DELETE FROM points' points_${step}
done