Close

Linux file rename

To change the character(s) in the file name at the folder:

for file in *; do mv “$file” echo $file | tr ' ' '_' ; done
for file in *; do mv “$file” echo $file | tr '&' 'and' ; done

To convert the encoding of file name:

convmv -f iso-8859-9 -t utf8 –notest <filename>

scroll to top