From 7dd1590399fc1e30cff298c000d026019bbbf82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Navr=C3=A1til?= Date: Thu, 1 Aug 2024 14:57:29 +0200 Subject: [PATCH] Remove duplicities again for future use. --- nostr-backup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nostr-backup.sh b/nostr-backup.sh index 60a7c4f..b1b715d 100644 --- a/nostr-backup.sh +++ b/nostr-backup.sh @@ -43,3 +43,5 @@ done echo "Publishing to ${TARGET_RELAY}..." sort -u ~/tmp/nostr-backup.json | nak event ${TARGET_RELAY} +#Remove duplicities again for future use. +sort -u -o ~/tmp/nostr-backup.json ~/tmp/nostr-backup.json