From 44a50eabf512c344679b2b266e0b8faa7540a9ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= <jbb@kaidan.im>
Date: Thu, 18 Apr 2024 17:53:38 +0200
Subject: [PATCH] fuzip: Include only feedback attachments

Fixes #1
---
 fuzip.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fuzip.sh b/fuzip.sh
index 5988eae..3f1ad91 100755
--- a/fuzip.sh
+++ b/fuzip.sh
@@ -12,6 +12,8 @@ while [ $# -ne 1 ]; do
     pattern=$2
     find "$dir" \
         -name "$pattern" \
+        -path '*/Feedback Attachment(s)/*' \
+        -or -name "comments.txt" \
         -print \
         | zip -9 "$dir" -@
     shift
-- 
GitLab