From b7b4a535d78861ff27756306acb57ca63d7138f8 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Wed, 24 Jan 2024 21:59:12 +0900 Subject: Add script to create notes from graph data --- generate_notes.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 generate_notes.sh (limited to 'generate_notes.sh') diff --git a/generate_notes.sh b/generate_notes.sh deleted file mode 100755 index 05c727a..0000000 --- a/generate_notes.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -mkdir -p notes - -cat graphdata.json | -jq -c '.data.nodes[]' | -while read -r nodes; do - id=$(echo "${nodes}" | jq -r '.id') - file=$(echo "${nodes}" | jq -r '.file') - cp -p "${file}" "notes/${id}" -done \ No newline at end of file -- cgit