Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # convmv_nautilus: http://pastebin.com/Ybn63QBN
- #
- # Autor: Alysson Gonçalves - agalysson@gmail.com
- # Ref: Valter Ferraz Sanches - Renomeando arquivos "Codificação Inválida" e um Bônus.
- # http://www.vivaolinux.com.br/dica/Renomeando-arquivos-Codificacao-Invalida-e-um-Bonus
- # Wellington R. Braga - Estendendo o poder de trabalho do Nautilus
- # http://blog.welrbraga.eti.br/?p=440
- #
- # Para funcionar, salve este arquivo com um nome qualquer no diretório:
- # "~/.gnome2/nautilus-scripts/"
- # O nome que colocar no arquivo será Exibido no menu de contexto do Nautilus.
- OLDIFS=${IFS}
- IFS="
- "
- for arquivo in ${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS}; do
- convmv -r -f cp850 -t utf8 --notest $arquivo
- done
- IFS=${OLDIFS}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement