I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file.
Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT.
umm is that another way of saying, try cmd /c dir /x find 8.3 format name of file and them rm that.
Hmm,
$ cmd /c dir /x Volume in drive C has no label. Volume Serial Number is 2C4B-5A99
Directory of C:\cygwin\home\quetschke
05/27/2004 09:52 AM <DIR> . 05/27/2004 09:52 AM <DIR> .. 05/27/2004 09:52 AM 4 nul
doesn't help :-(
i have a bash script to recurse and remove directories with names of lpt, nul,aux etc somewhere, as a client had left anonymous ftp on and some warez group had created a directory structure about 20 deep with this kind of name.
Maybe that works for directory names, but this is a file named nul.
Volker
-- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
signature.asc
Description: OpenPGP digital signature