Skip to content
Snippets Groups Projects
Commit ffdf49a1 authored by Robin Obůrka's avatar Robin Obůrka
Browse files

Fix find predicates in purge-backups

parent 8d2d7992
No related merge requests found
......@@ -28,7 +28,7 @@
set -e
purge_dir() {
find data/"$1" -mtime +"$2" -delete
find data/"$1" -type f -mtime +"$2" -delete
}
purge_dir archive 30
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment