add prune script

This commit is contained in:
Vassiliy Yegorov
2022-07-28 13:10:05 +07:00
parent 2fe99c9696
commit 9715037a35

6
prune.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/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