Wednesday, 2 October 2013

find and delete files with non-ascii names

find and delete files with non-ascii names

I have some old migrated files that contain non-printable characters. I
would like to find all files with such names and delete them completely
from the system.
Example:
ls -l
-rwxrwxr-x 1 cws cws 0 Dec 28 2011 ??"??
ls -lb
-rwxrwxr-x 1 cws cws 0 Dec 28 2011 \a\211"\206\351
I would like to find all such files. Please help

No comments:

Post a Comment