This commit is contained in:
committer@tuxwarrior
2026-02-24 18:35:15 -05:00
parent 56a2aa7cc9
commit 8f9f25bf72
12 changed files with 158 additions and 36 deletions

View File

@@ -0,0 +1,7 @@
find /usr/share/figlet/fonts -name '*.[ft]lf' | while read -r font; do
echo "$font:"
#figlet -t -f "$font" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890
figlet -t -f "$font" Klevstul
echo
echo
done | less

View File

@@ -0,0 +1 @@
for font in $(ls -1 /usr/share/figlet/ | sed -r '/_/d; s/\..*//'); do echo $font; toilet -f "$font" "Klevstul"; done

View File

@@ -0,0 +1,34 @@
#!/usr/bin/bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# what: update licences
# author: njs ➔ fk
# started: apr 2022
#
# requires: n/a
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ "$EUID" -eq 0 ]
then echo "error: do not run as 'root'"
exit
fi
src_dir=/mnt/nas/cb/software/licences
trg_dir=/home/poq/.local/share/Cryptomator/mnt/cryptLocal/content/licences
if ! [ -d "$src_dir" ]
then
echo "missing source directory:"
echo "$src_dir"
exit
fi
if ! [ -d "$trg_dir" ]
then
echo "missing target directory:"
echo "$trg_dir"
exit
fi
echo copying files from $src_dir to $trg_dir...
cp $src_dir/*.txt $trg_dir/