Created
March 13, 2012 17:28
-
-
Save douglasmiranda/2030055 to your computer and use it in GitHub Desktop.
Shell: Deletar arquivo com nome inválido. Problema ao deletar arquivos acentuados pelo terminal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# por exemplo, o nome do arquivo é: zéca_silva.jpg | |
# basta utilizar o wildcard " * " | |
rm -rf z*ca_silva.jpg | |
# porém se houver mais arquivos que enquadrem no padrão z[QUALQUER OUTRA COISA]ca_silva.jpg vai ser deletado tbm, então use com cuidado. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment