From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 19:18:22 2009 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 1DEC41065689 for ; Sat, 3 Jan 2009 19:18:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D3D278FC12 for ; Sat, 3 Jan 2009 19:18:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 7F9733EF51; Sat, 3 Jan 2009 20:18:21 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n03JIKWp001671; Sat, 3 Jan 2009 20:18:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 3 Jan 2009 20:18:20 +0100 From: Polytropon To: "Tsu-Fan Cheng" Message-Id: <20090103201820.79f10747.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: how to remove "-KVCD.stats"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2009 19:18:22 -0000 On Sat, 3 Jan 2009 12:48:09 -0500, "Tsu-Fan Cheng" wrote: > Hi, > due to using mkxvcd to convert avi to mpg, I sometimes generates > "-KVCD.stas" file. How can I remove this? every time I run: > > rm -f \-KVCD.stats > > or > > rm -f "_KVCD.stas" > > it says: > > rm: illegal option -- K > usage: rm [-f | -i] [-dIPRrvW] file ... > unlink file Try to use "--" in order to stop argument (command line iotion) processing: # rm -f -- -KVCD.stats Nothing after "--" will be treated as an argument. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...