Solution:
1. Install convmv
[root@openstack-manager-h1 chesunexcelfiledevimage]# yum install convmv
2. Batch recursively modify the file names in the current directory (recommended tutorial: centos usage tutorial)
[root@openstack-manager-h1 chesunexcelfiledevimage]# convmv -f GBK -t UTF-8 -r --notest ./*
convmv Usage method:
convmv -f 源编码 -t 新编码 [选项] 文件名
Parameters:
-r Recursively process subfolders
–notest Really perform the operation. By default, the file will not be operated.
Recommended related video tutorials: linux video tutorial
The above is the detailed content of Garbled folder name under centos system. For more information, please follow other related articles on the PHP Chinese website!