aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zchain-extract-cids
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-05-27 19:14:00 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-05-27 19:14:00 +0300
commit4be8482daed5524db80bd46019b5a4dcc74303ee (patch)
tree9e68f229d56e72fd93b72781deda96ce919d8a89 /bin/ak-zchain-extract-cids
parent117dd31d5322c071b4b348b61b0ef741a6044926 (diff)
downloadarching-kaos-tools-4be8482daed5524db80bd46019b5a4dcc74303ee.tar.gz
arching-kaos-tools-4be8482daed5524db80bd46019b5a4dcc74303ee.tar.bz2
arching-kaos-tools-4be8482daed5524db80bd46019b5a4dcc74303ee.zip
Refactored ak-zchain-* reducing scripts number
Diffstat (limited to 'bin/ak-zchain-extract-cids')
-rwxr-xr-xbin/ak-zchain-extract-cids16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/ak-zchain-extract-cids b/bin/ak-zchain-extract-cids
deleted file mode 100755
index 61e0da5..0000000
--- a/bin/ak-zchain-extract-cids
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-##
-## Extracts unique IPFS CIDs from an ak-entered zchain
-##
-## -h, --help Prints this help message
-##
-#
-# Previously:
-# ak-enter | jq | grep Qm | sed -e 's/^.*Qm/Qm/g' | cut -d '"' -f 1
-#
-if [ ! -z $1 ] && [ -n "$1" ]
-then
- ak-enter $1 | jq -M | grep Qm | sed -e 's/".*"://g; s/ //g; s/[{,"]//g' | sort | uniq
-else
- ak-enter | jq -M | grep Qm | sed -e 's/".*"://g; s/ //g; s/[{,"]//g' | sort | uniq
-fi