10 lines
234 B
Plaintext
10 lines
234 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
if compgen -G "/home/default/syncthing/*/.stversions/*" > /dev/null; then
|
||
|
rm -rf /home/default/syncthing/*/.stversions/*
|
||
|
echo "deleted all .stversions"
|
||
|
else
|
||
|
echo "no .stversions to remove"
|
||
|
fi
|