Quick fix for file name garbled (invalid encoding) under CentOS 7.4 Linux

Source: Internet
Author: User
Tags parent directory

The file is created under Windows, the file name encoding for Windows is GBK by default, and the default file name in Linux is encoded as UTF8, because the encoding

Inconsistent so caused the file name garbled problem, to solve this problem requires the file name transcoding. FileName transcoding tool CONVMV not installed.

Install with the following command:

=============================================================================
[Email protected] Desktop]# yum-y install CONVMV
Loaded plugins: Fastestmirror, LangPacks
Loading mirror speeds from cached hostfile
Resolving dependencies
--Checking transactions
---> Package convmv.noarch.0.1.15-2.el7 will be installed
--Resolve dependency completion

Dependency resolution

=======================================================================================
Package schema version Source size

Installing:
CONVMV Noarch 1.15-2.el7 CentOS7 k

Transaction summary

Installing the 1 package

Total Downloads: K
Installation Size: K
Downloading packages:
Running transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: Convmv-1.15-2.el7.noarch 1/1
Verified in: Convmv-1.15-2.el7.noarch 1/1

has been installed:
Convmv.noarch 0:1.15-2.EL7

Complete!

Main method: Convmv-f gbk-t UTF-8--notest-r [destination folder parent directory]

Quick fix for file name garbled (invalid encoding) under CentOS 7.4 Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.