Help! Can't delete files ...

Chuck Swiger cswiger at mac.com
Wed Oct 19 19:00:05 UTC 2011


Hi--

On Oct 19, 2011, at 11:23 AM, Andy Wodfer wrote:
> I need to delete about 20 files, but I can't do it through the CMS nor by
> command line on this FreeBSD 8.1 STABLE server. There's something with the
> character encoding/keyboard or server setup I think.
> 
> Please advice.
> 
> This is what a file looks like when I ls:
> 
> 28b Kjoepesenter n?ringsg?rdeier.docx

That's probably UTF-8 encoding of the Norwegian string.  You'd need to quote the characters in a fashion appropriate for whichever shell you use; but an easier way is likely:

  rm -i *Kjoepesenter*

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list