Files
vault/prune.sh
Vassiliy Yegorov 9715037a35 add prune script
2022-07-28 13:10:05 +07:00

7 lines
187 B
Bash
Executable File

#!/bin/bash
[[ -f data/helpers/keys.json ]] && rm data/helpers/keys.json
rm -rf $(find data/file/ -maxdepth 1 -type f -name "*" ! -name ".gitkeep")
docker compose down --remove-orphans