annna-add-hashtag: run quinq-size script upon import - annna - Annna the nice f… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit f91673c0d2a28aa066ee992cc7cedd3293791fb5 | |
parent 4b6a4cee09a7090193ad6e1ba512f13799776827 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 18 Oct 2022 10:15:54 +0200 | |
annna-add-hashtag: run quinq-size script upon import | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-add-hashtag | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-add-hashtag b/annna-add-hashtag | |
@@ -306,6 +306,12 @@ processtag() { | |
mv "faststart_${tagfile}" "${tagfile}" | |
;; | |
esac | |
+ | |
+ tagfilenew="$(/br/bin/quinq-size "${tagfile}" </dev/null | sed 's/.* -… | |
+ if [ $? -eq 0 ]; | |
+ then | |
+ mv "${tagfilenew}" "${tagfile}" | |
+ fi | |
} | |
inserttag() { |