Generates a host list of first-party trackers for ad-blocking.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
216B

  1. #!/usr/bin/env bash
  2. function log() {
  3. echo -e "\033[33m$@\033[0m"
  4. }
  5. oldest="$(cat last_updates/*.txt | sort -n | head -1)"
  6. log "Pruning every record before ${oldest}…"
  7. ./db.py --prune --prune-before "$oldest"