smeserver-postgresql/root/etc/e-smith/events/actions/pgsql-delete-db-files

6 lines
88 B
Plaintext
Raw Normal View History

#! /bin/sh
cd /var/lib/pgsql/13 && \
find . -type f | xargs rm -f && \
rm -rf data/*