Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2005, 09:01 PM
cyclez Offline
Registered User
 
Join Date: Jan 2005
Posts: 6
find cannot find files with invalid utf8 filename

find simply doesn't show them as search results. Is there a simple method to convert whole folders with invalid unicode encoded filenames to something valid ?

thanks.
Reply With Quote
  #2  
Old 22nd June 2005, 09:26 PM
thangpres Offline
Registered User
 
Join Date: Jun 2005
Posts: 3
me too ,somebody help me plz ^_^
Reply With Quote
  #3  
Old 22nd June 2005, 11:33 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,965
ls -labR | grep '\\'
finds those with unprintable characters in their names. Is that what is meant by an invalid utf8 code? If so then try
find / | grep '\\'

I don't know any command line way to quickly give all the files in a directory a printable name.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #4  
Old 23rd June 2005, 02:41 PM
cyclez Offline
Registered User
 
Join Date: Jan 2005
Posts: 6
ls -labR
escapes all 'special' characters and not only the ones that are invalid. nautilus shows these invalid unicode filenames with a "?" instead of the character and a (invalid unicode) comment at the end of the filename.
Reply With Quote
  #5  
Old 23rd June 2005, 07:32 PM
mpolo Offline
Registered User
 
Join Date: Jun 2005
Posts: 197
I have used the program convmv to do this. You can grab a tarball at http://j3e.de/linux/convmv/ and read the manual without downloading the tarball at http://j3e.de/linux/convmv/man/ . It's a Perlscript, so you will need perl installed -- but I think just about any Fedora installation will have that.
Reply With Quote
  #6  
Old 23rd June 2005, 09:53 PM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
fyi, if you prefer rpm like i do, just "yum install convmv", it's in extra
Reply With Quote
Reply

Tags
filename, files, invalid, utf8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find game & dont know where to find Security Settings bladescape Installation, Upgrades and Live Media 5 15th November 2008 02:03 AM
Problems with anaconda - invalid utf8 osvaldomarques Installation, Upgrades and Live Media 1 1st April 2008 01:50 PM
Find in files PompeyBlue Using Fedora 5 13th August 2004 12:30 AM


Current GMT-time: 11:03 (Sunday, 23-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Sulphur Photos on Instagram - Akita Shi Photos on Instagram - Villa Bruzual Travel Photos on Instagram