aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-get-only-ipfs-key-values-from-our-zchain
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-get-only-ipfs-key-values-from-our-zchain')
-rwxr-xr-xbin/ak-get-only-ipfs-key-values-from-our-zchain3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ak-get-only-ipfs-key-values-from-our-zchain b/bin/ak-get-only-ipfs-key-values-from-our-zchain
new file mode 100755
index 0000000..8334f66
--- /dev/null
+++ b/bin/ak-get-only-ipfs-key-values-from-our-zchain
@@ -0,0 +1,3 @@
+#!/bin/bash
+# Outputs all the "ipfs" values from the DATA blocks of our ZCHAIN
+enter | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g' | sort | uniq