
Enviado em 29/11/2020 - 19:25h
#!/bin/bash
log="/tmp/fonte.log"
rm -Rf "$log"
arquivo=$(zenity --file-selection --title="Selecione um arquivo" --file-filter="*.txt" 2> /dev/null)
while read fonte
do
if [ -e "/usr/share/fonts/" ]; then
find /usr/share/fonts/ -iname "$fonte"
if [ $? -eq 0 ]; then
echo "Fonte $fonte já existe em /usr/share/fonts/ !" >> "$log"
fi
fi
if [ -e "$HOME/.fonts/" ]; then
find $HOME/.fonts/ -iname "$fonte"
if [ $? -eq 0 ]; then
echo "Fonte $fonte já existe em $HOME/.fonts/ !" >> "$log"
# Remove a fonte da pasta $HOME/.fonts/ caso já existe na pasta /usr/share/fonts/
# rm -Rf
fi
fi
done < "$arquivo"
gedit "$log"
Como criar um make.conf no Gentoo (para iniciantes)
Como instalar o Open WebUI para Ollama no Gentoo (com systemd)
INSTALAR (e jogar) COUNTER STRIKE 1.6 (install cs 1.6) NO LINUX
A tragédia silenciosa das distribuições baseadas (ou “agregadas”)
Removendo o bloqueio por erros de senha no Gentoo (systemd)
Papel de Parede Animado no KDE Plasma 6 (Com dicas para Gentoo)
Homebrew: o gerenciador de pacotes que faltava para o Linux!
Removendo a trava de versão do Project Brutality para GZDoom/UZDoom
Acelere a compilação no Gentoo com distcc (guia para Systemd)
ATUALIZAÇÃO DO KERNEL LINUX (2)
[Matemática] o que seria algo mais poderoso do que uma função? [RESOLV... (5)









