aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-09-07 00:53:09 +0300
committerkaotisk <kaotisk@arching-kaos.org>2022-09-07 00:53:09 +0300
commitae6064bc89a0cbb73d7416bb5103aba42d331f97 (patch)
tree9d1f166635c2fbdcb4010a0638229674404d897f
parent581d4a14cda6b84a1d0b5bd8a5d40d58f93b554a (diff)
downloadarching-kaos-tools-ae6064bc89a0cbb73d7416bb5103aba42d331f97.tar.gz
arching-kaos-tools-ae6064bc89a0cbb73d7416bb5103aba42d331f97.tar.bz2
arching-kaos-tools-ae6064bc89a0cbb73d7416bb5103aba42d331f97.zip
Tool to extract all the IPFS CIDs from a zchain
-rwxr-xr-xbin/extract-cids2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/extract-cids b/bin/extract-cids
new file mode 100755
index 0000000..ec91fb0
--- /dev/null
+++ b/bin/extract-cids
@@ -0,0 +1,2 @@
+#!/bin/bash
+enter | jq | grep Qm | sed -e 's/^.*Qm/Qm/g' | cut -d '"' -f 1