Importing lsmemes from KatolaZ. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit f0b0455d616e10227c2b915bae527c915cdc54dc | |
parent 9c2d6a5313bd098963f1e8350ad2037d6dca5e37 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 19 May 2020 13:15:38 +0200 | |
Importing lsmemes from KatolaZ. | |
Diffstat: | |
A lsmemes | 14 ++++++++++++++ | |
1 file changed, 14 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/lsmemes b/lsmemes | |
@@ -0,0 +1,14 @@ | |
+#!/bin/sh | |
+ | |
+MEMEFILE=/home/annna/bin/modules/hashtags/hashtags.txt | |
+MEMEDIR=/br/gopher | |
+ | |
+printf "meme2\n" | |
+ | |
+while read -r tag meme; do | |
+ | |
+ hash=$(sha512sum ${MEMEDIR}/$(echo $meme | cut -d "/" -f 5-) | awk '{p… | |
+ printf "%s %s %s\n" $tag $meme $hash | |
+ | |
+done < $MEMEFILE | |
+ |