Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Cannot delete strange files

Cannot delete strange files
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 19, 2004, 10:09 AM
 
Hi,

I have some files with strange names on my harddisk for some time now and don't know how to delete them. Some of them also stay in the trash, so that there's no chance to empty it completely.



I already tried:
- deleting normally in Finder (brings up »unknown« error -43)
- force empty trash-script (no effect, files stay in trash)
- compress the files (error: no file reference)
- delete via terminal (problem: files not shown there)
- overwrite (problem: how to type these filenames?)
- File Buddy 8 beta (no effect)
- DiskWarrior 3 (no effect)

Since the files are not shown in terminal (no, they're not hidden), I guess they only exist in OS X but not in Darwin or something like that... very strange...

Any suggestions?
     
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status: Offline
Reply With Quote
Jun 19, 2004, 10:50 AM
 
Well, wether in the terminal or not, you're still browsing the same file system.

It sounds like you don't have permission to do anything with them - 1.you can't delete them, 2. you can't view them in the terminal. I reckon you should go as root and have a look and see if you can see them.

type sudo ls into the terminal, then type in the adminstrator password when it asks. You should then see the files and be able to remove them using sudo rm filename. You could also use su to set user to the root account so you don't have to keep typing sudo...

I hope that helps a little.
Just who are Britain? What do they? Who is them? And why?

Formerly Black Book
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jun 19, 2004, 12:17 PM
 
1. If you rename the files, can you then delete them?

2. Try using a cache cleaner to clean up. It's possible that references to no-longer-existent files are still around.

tooki
     
fab1An  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 19, 2004, 01:03 PM
 
Originally posted by Black Book:
Well, wether in the terminal or not, you're still browsing the same file system.

It sounds like you don't have permission to do anything with them - 1.you can't delete them, 2. you can't view them in the terminal. I reckon you should go as root and have a look and see if you can see them.

I hope that helps a little.
I did that already. Tried to list the files and also to delete the parent folder via sudo. Nothing. :-(

tooki wrote:
1. If you rename the files, can you then delete them?

2. Try using a cache cleaner to clean up. It's possible that references to no-longer-existent files are still around.
1. Tried that first, of course, but the result is the same »unknown error« (error -43).

2. I Used the (famous?) Panther Cache Cleaner for this task, cleanes every cache possible (»deep cleaning«) and also tried PCC's trash-options with no effect.


The strange characters in the filenames were german... uhm... Umlaute (ä, ö, ü, ß etc.) before. Does that bring up any new ideas?
(Last edited by fab1An; Jun 19, 2004 at 02:31 PM. )
     
fab1An  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 19, 2004, 02:40 PM
 
Is there any place where OS X, well the GUI or something in between, stores additional file informations? Because in terminal these files do not exist.
     
Senior User
Join Date: Feb 2002
Location: Denver
Status: Offline
Reply With Quote
Jun 19, 2004, 04:55 PM
 
Originally posted by fab1An:
Is there any place where OS X, well the GUI or something in between, stores additional file informations? Because in terminal these files do not exist.
You might just want to backup important information, but not the directories with the strange files, format and re-install then.
     
fab1An  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 19, 2004, 05:28 PM
 
Originally posted by vinster:
You might just want to backup important information, but not the directories with the strange files, format and re-install then.
Well, to be honest, that's what I DO NOT want to do. I still hope, that there's another way to get rid of these »files«.
     
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Jun 19, 2004, 05:38 PM
 
Boot into OS 9 and trash the garbage files there.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
fab1An  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 19, 2004, 06:23 PM
 
Originally posted by Developer:
Boot into OS 9 and trash the garbage files there.
Thanks!
That solved one part of the problem! The files, that weren't deleted yet, are gone now. Great!
But there are still some files with their names containing the same strange characters, which stay there egen when I empty the trash »by force«.

Can I finde these files in OS 9, too?

Edit: Okay, could not move them from trash to the desktop, but to the external fw-drive. So I think I can delete these now from OS 9, too.
(Last edited by fab1An; Jun 19, 2004 at 06:35 PM. )
     
Junior Member
Join Date: Feb 2001
Status: Offline
Reply With Quote
Jun 19, 2004, 06:33 PM
 
I had the same problem.
I just started up from the DiskWarrior 3.02 cd and fixed all my partions.

DiskWarrior fixed the name on the files.

When I booted back into OS X I could empty the trash with the files, and they were all gone.
     
Professional Poster
Join Date: Jun 2000
Status: Offline
Reply With Quote
Jun 19, 2004, 06:41 PM
 
Originally posted by Developer:
Boot into OS 9 and trash the garbage files there.
OS 9 to the rescue again. This is exactly why keeping OS 9 around is worth a couple hundred MB.
     
fab1An  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Jun 20, 2004, 05:20 AM
 
Originally posted by bradoesch:
OS 9 to the rescue again. This is exactly why keeping OS 9 around is worth a couple hundred MB.
I agree totally... now. :-)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:55 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2