From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 19:00:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45794106564A for ; Wed, 19 Oct 2011 19:00:05 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 21E648FC12 for ; Wed, 19 Oct 2011 19:00:04 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp020.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LTB0067BU3UOR40@asmtp020.mac.com> for freebsd-questions@freebsd.org; Wed, 19 Oct 2011 11:59:54 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-10-19_07:2011-10-19, 2011-10-19, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1110190226 From: Chuck Swiger In-reply-to: Date: Wed, 19 Oct 2011 11:59:53 -0700 Message-id: References: To: Andy Wodfer X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions Subject: Re: Help! Can't delete files ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2011 19:00:05 -0000 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