From 82248deb8d95443b816328dd1aaf8e96b48e1877 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Mon, 16 Jun 2025 15:22:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20don't=20hardcode=20excludes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git-annex-duplicates | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/git-annex-duplicates b/git-annex-duplicates index 66280b6..3d44545 100755 --- a/git-annex-duplicates +++ b/git-annex-duplicates @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import subprocess import collections import re @@ -23,12 +23,6 @@ def main(exclude, arguments): continue key, file = l.split(":", maxsplit=1) - # XXX - if file.lower().endswith(".jpg"): - continue - if file.lower().endswith(".nfo"): - continue - files[key].append(file) for k in files: