delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/23/16:50:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20020323134207.023b7ec0@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sat, 23 Mar 2002 13:49:52 -0800
To: Hongxun Lee <lee DOT 1801 AT osu DOT edu>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: how to del files named #???#
In-Reply-To: <002b01c1d2b2$62ecc3e0$2c961a18@alleluja>
Mime-Version: 1.0

Hongxun,


[ This is not Cygwin-specific--it can occur on any Unix/Linux/POSIX system. ]


Oh, but they can be removed using "rm."


Cd to the directory in which the problematic files reside and issue this 
command:

% rm -i *

You will be presented with a prompt for each file in the directory. If you 
type a "y<RETURN>" the file will be removed. Other responses will leave the 
file in place.

If the entire directory consists of such unwanted files, you can cd to the 
parent dir and use "rm -fr" to eradicate the directory and all its contents 
without being prompted. This approach does not require shell pattern 
matching, so sometimes (for some kinds of file names and / or on some 
systems) it works when the previous suggestion does not.

Randall Schulz
Mountain View, CA USA


At 13:33 2002-03-23, hongxun lee wrote:
>I dont know why such files were produced, and they cant be del with 
>command rm. Thanks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019