On 08/31/2010 11:18 AM, Jens Petersen wrote: >> ls | while read filename >> do >> mv -i "$filename" "`echo \"$filename\" | iconv -f GB2312 -t UTF8`" >> done > Or you can use the convmv tool (in fedora) to do that too. Hadn't known about that command. Thanks.... Sometimes the hardest thing is to determine what encoding the file names are in to start. :-( -- A tall, dark stranger will have more fun than you. 葛斯克 愛德華 / 台北 市八德路四段
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines