
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"
Berry Bank: Criando um Banco Digital Gamificado para seus Filhos com Gentoo, Flask e Tailscale
Papagaiando o XFCE com temas e recursos
Instale o DOOM Retro no Gentoo facilmente via Overlay
Steam (Flatpak) rodando jogos em partição NTFS
O dock Plank + U-Launcher deixam qualquer desktop mais produtivo
Instalar Linux em notebook Sony Vaio VPCEG13EB (17)
Alguém tem que acabar com ANATEL!!! (10)
O que você está ouvindo agora? [2] (229)









