]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/files/default/replication-bin/replicate-cleanup
Copy hourly and daily replication diffs to S3
[chef.git] / cookbooks / planet / files / default / replication-bin / replicate-cleanup
1 #!/bin/sh
2
3 set -e
4
5 find /var/lib/replication/minute -name *.done -mtime +14 -print0 | xargs -0r rm