diff --git a/fetch-and-convert.sh b/fetch-and-convert.sh index a26a637..9043721 100755 --- a/fetch-and-convert.sh +++ b/fetch-and-convert.sh @@ -26,10 +26,7 @@ for kind in "${!KINDS[@]}"; do # Fetch and convert to JSON nak req -k "$kind" -a "$PUBKEY" "$RELAY" | jq -s '.' > "$DATA_DIR/$output.json" - - # Remove any existing .jsonl file in the same directory - rm -f "$DATA_DIR/$(dirname "$output")"/*.jsonl - + echo "Saved to $DATA_DIR/$output.json" done