delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/17/09:43:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20010817064030.00aa91f8@pop-server.socal.rr.com>
X-Sender: cloder AT pop-server DOT socal DOT rr DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 17 Aug 2001 06:42:26 -0700
To: egor duda <cygwin AT cygwin DOT com>
From: Chad Loder <cloder AT acm DOT org>
Subject: Solved: Cygwin 'rm' leaves hidden 'deleted' directories around
Cc: cygwin AT cygwin DOT com
In-Reply-To: <149333982561.20010817172808@logos-m.ru>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010817060211 DOT 00aab470 AT pop-server DOT socal DOT rr DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010817060211 DOT 00aab470 AT pop-server DOT socal DOT rr DOT com>
Mime-Version: 1.0

At Friday 8/17/2001 05:28 PM +0400, you wrote:
>first, check if you're really using cygwin's 'rm'. use 'cygcheck rm'
>to find out. your path contains a lot of directories before /bin, so
>maybe you're using, rm from java, or from /p/Bin/

Good call!

bash$ cygcheck rm
Found: P:\Bin\rm.exe
Found: c:\cygwin\bin\rm.exe
Found: c:\Program Files\Microsoft Platform SDK\Bin\rm.exe
P:\Bin\rm.exe
   C:\WINNT\System32\MSVCRT.dll
     C:\WINNT\System32\KERNEL32.dll
       C:\WINNT\System32\NTDLL.DLL

Use -h to see help about each section

bash$ rm /?
Microsoft File Removal Utility.  Version rmj.0rmm.00rup
Copyright (C) Microsoft Corp 1987-98. All rights reserved.

Usage: RM [/help] [/ikft] [/x [/d]] [/r dir] files
     /help  invoke Quick Help for this utility
     /i     inquire of user for each file for permission to remove
     /k     keep read only files, no prompting to remove them
     /r dir recurse into subdirectories
     /f     force delete of read only files without prompting
     /t     attempt to take ownership of file if delete fails
     /x     dont save deleted files in deleted subdirectory
     /d     delay until next reboot.


Boy, that's retarded...I didn't expect Microsoft to ship their
own 'rm' with their platform SDK. :)

Thanks!

         c



--
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