From 286b71a6ead8c7234cfbc0b8ece05c8239a4f32c Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 29 Mar 2023 23:45:49 +0300 Subject: Renamed everything --- bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain (limited to 'bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain') diff --git a/bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain b/bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain new file mode 100755 index 0000000..2b9f580 --- /dev/null +++ b/bin/ak-get-only-ipfs-key-values-from-our-or-a-zchain @@ -0,0 +1,8 @@ +#!/bin/bash +# Outputs all the "ipfs" values from the DATA blocks of our ZCHAIN +if [ ! -z $1 ] +then + enter $1 | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g' +else + enter | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g' +fi -- cgit v1.2.3