{"id":400,"date":"2009-06-28T13:37:28","date_gmt":"2009-06-28T11:37:28","guid":{"rendered":"http:\/\/raftaman.net\/?p=400"},"modified":"2021-05-15T11:46:42","modified_gmt":"2021-05-15T09:46:42","slug":"convert-filenames-from-iso-8859-1-to-utf-8","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=400","title":{"rendered":"Convert filenames from iso-8859-1 to utf-8"},"content":{"rendered":"<p>Just as you can <a href=\"https:\/\/possiblelossofprecision.net\/?p=396\">convert entire files<\/a> from one charset to another, you can convert the filenames. For example:<\/p>\n<pre class=\"brush: plain; light: true; title: ; notranslate\" title=\"\">\r\nconvmv -f iso-8859-15 -t utf-8 -r .\r\n<\/pre>\n<p>would recursively convert all files in the current directory from iso-8859-1 charset into utf-8. Well, not exactly. To finally rename the files you need the <code>--notest<\/code> flag. Otherwise <code>convmv<\/code> will perform a dry run without any changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just as you can convert entire files from one charset to another, you can convert the filenames. For example: convmv -f iso-8859-15 -t utf-8 -r . would recursively convert all files in the current directory from iso-8859-1 charset into utf-8. Well, not exactly. To finally rename the files you need the &#8211;notest flag. Otherwise convmv will perform a dry run&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=400\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[28,21],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bash","tag-utf8"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":7,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":1830,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions\/1830"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}