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

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/

