6 lines
88 B
Bash

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