Converts File Names from One Encoding to Another

Edit Package convmv

convmv is meant to help convert a directory tree and the contained
files or a whole file system into a different encoding. It just
converts the file names, not the content of the files. A special
feature of convmv is that it also takes care of symlinks and converts
the symlink target pointer in case the symlink target is converted.

All this comes in very handy when converting from old 8-bit locales to
UTF-8 locales. It is also possible to convert directories to UTF-8 that
are already partly UTF-8 encoded. convmv is able to detect if certain
files are UTF-8 encoded and skips them by default. To turn this
behavior off, use the --nosmart switch.

An interoperability issue that comes with UTF-8 locales is this: Linux
and (most?) other Unix-like operating systems use the normalization
form C (NFC) for UTF-8 encoding by default but do not enforce this.
Darwin, the base of Macintosh OSX, enforces normalization form D (NFD),
where a few characters are encoded in a different way. convmv is able
to convert files to NFC or NFD, which aids in interoperability with
such systems.

Refresh
Refresh
Source Files
Filename Size Changed
convmv-2.0.tar.gz 0000029534 28.8 KB
convmv.changes 0000005433 5.31 KB
convmv.spec 0000002027 1.98 KB
Revision 20 (latest revision is 24)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 349174 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 20)
- updated to 2.0:
  * fix checks for NFD conversion, where convmv could run into a 
    "resulting filename is ... bytes long (max: 255) error message 
    for no obvious reason.
  * the --preserve-mtimes option is the default now
  * fix a bug where mtimes might not be restored in some cases
  * add --map option to support additional character mappings like 
    to mapping Microsoft's illegal NTFS characters
  * issue warning if we cannot traverse a directory in recursive 
    mode
Comments 0
openSUSE Build Service is sponsored by