Posts tagged: bash

convert directories and files to utf-8 names

quick and dirty ISO-8859-15 to UTF-8 conversion for old directories and files. this does not convert the file content or something, only file and directory names find . -type d -exec sh -c ‘i=”{}”; mv “$i” “$(echo $i|iconv -f ISO_8859-15)” \ 2>/dev/null && echo “moved $(echo $i|iconv -f ISO_8859-15)”‘ \; find . -type f -exec [...]

Donnerstag Februar 25th, 2010 in , , , , | No Comments »