Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2011 11:59:53 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Andy Wodfer <wodfer@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Help! Can't delete files ...
Message-ID:  <D36BB825-C749-48E2-A09E-6B0B10D4205F@mac.com>
In-Reply-To: <CABgB0xQxYMM91OcBBVGHLB=Px4z4b=bxRnj=gbvbaU1GRTZRQQ@mail.gmail.com>
References:  <CABgB0xQxYMM91OcBBVGHLB=Px4z4b=bxRnj=gbvbaU1GRTZRQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D36BB825-C749-48E2-A09E-6B0B10D4205F>