Rich Freeman on 17 Jun 2016 08:17:13 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] find all files with non ascii characters in a directory


On Fri, Jun 17, 2016 at 11:06 AM, Michael Lazin <microlaser@gmail.com> wrote:
> I am interested in using the find command to recursively find all non-ascii
> character named files in a directory.

I can't help you with your problem, but this might be a good time to
plug a tool called detox: http://detox.sourceforge.net/

You wouldn't use it for files with foreign language names that you
cared about.  It is for files labeled mostly in ascii with stuff like
spaces, symbols, a few random unicode characters, etc.  It is pretty
aggressive in what it strips out or underscores, etc.  Certainly the
resulting filenames do not require quoting.

-- 
Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug