Can't get rid of folders
I'm having the same problem on Windows XP that I am on my Mac. On the Mac, I have a folder ASD
in my Trash that won't delete. When I try to Empty Trash from the Dock, I get an error stating that the item "ASD" is in use. When I look at the folder and try to remove stuff, nothing is there:
[minime:~] matt% rm -r .Trash/* rm: .Trash/ASD: Directory not empty [minime:~] matt% rm -r .Trash/ASD/* rm: No match.
On XP, I have a similar issue. There is a found.000
folder on my C: drive. In this folder, there is a hidden folder (or at least it has a folder icon) named file0009.chk
. When I try to delete it, I get the following error:
Cannot delete file0009.chk: The file or directory is corrupted and unreadable.
Both of these have been bugging me for quite some time - hopefully I can put the comments feature to work for me now!
Posted by Kurt Wiersma on November 12, 2002 at 11:53 AM MST #
Not sure how details work on the unix-ish OSX, but you might try to execute "find .Trash". This one should give you any files in .Trash and subfolders. The problem <em>might</em> be in "hidded" files with names starting in a dot (like .file). They're normally hidden from vanilla "ls" and shell expansion "echo *", although on my Linux box "rm -r" removes everything.
Another thing to check (if ASD is actually in use) might be having a look at "lsof" (list open files). I'm not sure if it's available for OSX, but there are good chances. Have a look at manpage to find out who/what is using the ASD directory.
Hope that help. I would have similar problems with files with Polish diacritical characters under Windows at the office, and I absolutely dred the idea of files I simply can't remove :)
I see HTML works in comments now; well, what superb level of support :)
Posted by Greg Klebus on November 12, 2002 at 03:56 PM MST #
Posted by G on January 21, 2003 at 07:49 PM MST #