[CS-FSLUG] . Bulk filename recoding

zerothis baud zerothis23 at gmail.com
Wed Sep 22 18:01:54 CDT 2010


On 9/22/10, christiansource-request at ofb.biz
<christiansource-request at ofb.biz> wrote:
> Send Christiansource mailing list submissions to
> 	christiansource at ofb.biz
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://ofb.biz/mailman/listinfo/christiansource_ofb.biz
> or, via email, send a message with subject or body 'help' to
> 	christiansource-request at ofb.biz
>
> You can reach the person managing the list at
> 	christiansource-owner at ofb.biz
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Christiansource digest..."
>
>
> Today's Topics:
>
>    1. Bulk filename recoding? (Eduardo Sanchez)
>    2. Re: Bulk filename recoding? (sjm)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 22 Sep 2010 08:40:02 -0400
> From: Eduardo Sanchez <lists at sombragris.org>
> To: "A Christian virtual Free Software and Linux Users Group."
> 	<christiansource at ofb.biz>
> Subject: [CS-FSLUG] Bulk filename recoding?
> Message-ID: <201009220840.03690.lists at sombragris.org>
> Content-Type: Text/Plain;  charset="iso-8859-1"
>
> Dear Listmembers,
>
> I know the answer must be somewhere but I can't recall that and therefore I
> ask for your help.
>
> Problem is, sometimes I get non-ASCII characters in filenames; e.g.,
> "r?sum?.pdf". Especially if those filenames come from zipped or RAR'ed
> packages, trying to copy them from my ext3 filesystem to a FAT one (such as
> those of pendrives or mp3 players), the file transfer in Midnight Commander
> fails.
>
> Renaming the filenames and ensuring that all characters in the filename are
> ASCII usually solves the problem.
>
> Now, my question is: how can I do this massively? Say, I have recursive
> folders and subfolders that need to be renamed, something that would be too
> burdensome to do by hand. How can I do it?
>
> Thanks in advance,
>
>
> Eduardo
> --
> Eduardo Sanchez, B. Th.
> Traductor P?blico Ingl?s-Espa?ol
> http://shadow.sombragris.org
> --------------------------------------------------------------
>  'Tis all a Chequer-board of Nights and Days
>  Where Destiny with Men for Pieces plays:
>    Hither and thither moves, and mates, and slays,
>  And one by one back in the Closet lays.
>
> 	-- The Rubaiyat of Omar Khayyam
> 	
>
> --------------------------------------------------------------
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Sep 2010 07:58:40 -0700
> From: sjm <sjm.mlists at gmail.com>
> To: "A Christian virtual Free Software and Linux Users Group."
> 	<christiansource at ofb.biz>
> Subject: Re: [CS-FSLUG] Bulk filename recoding?
> Message-ID: <4C9A19A0.9000009 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 09/22/2010 05:40 AM, Eduardo Sanchez wrote:
>> Dear Listmembers,
>>
>> I know the answer must be somewhere but I can't recall that and therefore
>> I
>> ask for your help.
>>
>> Problem is, sometimes I get non-ASCII characters in filenames; e.g.,
>> "r?sum?.pdf". Especially if those filenames come from zipped or RAR'ed
>> packages, trying to copy them from my ext3 filesystem to a FAT one (such
>> as
>> those of pendrives or mp3 players), the file transfer in Midnight
>> Commander
>> fails.
>>
>> Renaming the filenames and ensuring that all characters in the filename
>> are
>> ASCII usually solves the problem.
>>
>> Now, my question is: how can I do this massively? Say, I have recursive
>> folders and subfolders that need to be renamed, something that would be
>> too
>> burdensome to do by hand. How can I do it?
>
> I assume you are on linux.  Check out the "convmv" package.  It can
> change the encodings for the filenames.  (IIRC, Windows prefers cp850 or
> ISO8859 codepages while Linux prefers utf-8.)
>
> sjm
>
>
>
> ------------------------------
>
> ______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://ofb.biz/mailman/listinfo/christiansource_ofb.biz
>
> End of Christiansource Digest, Vol 79, Issue 8
> **********************************************
>

The Thunar file manager <http://thunar.xfce.org/index.html> comes with
an excellent bulk renamer with both simple and advanced
<http://thunar.xfce.org/plugins.html> ways to rename many files at
once.




More information about the Christiansource mailing list