Home > Operation and Maintenance > CentOS > Garbled folder name under centos system

Garbled folder name under centos system

王林
Release: 2020-03-21 13:47:46
Original
1936 people have browsed it

Garbled folder name under centos system

Solution:

1. Install convmv

[root@openstack-manager-h1 chesunexcelfiledevimage]# yum install convmv
Copy after login

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 ./*
Copy after login

convmv Usage method:

convmv -f 源编码 -t 新编码 [选项] 文件名
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template