Go Back   MacRumors Forums > Apple Hardware > Desktops > iMac

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 11, 2012, 12:02 AM   #1
eroxx
macrumors 6502a
 
Join Date: Jul 2010
PLEASE help me delete this file!

This is a COMPLETE mystery.

I have a folder in my trash that I CANNOT delete. I moved it to my desktop, and here is a screenshot of the file. It says there is 0 bytes in it. I've tried terminal commands, onyx, all sorts of things. I THINK the issue is with the strange character in the filename. When I try and rename it, it won't let me. .. Like I said, I've tried everything... Here's a screenshot of the folder:

http://o7.no/Uv87UX

If I double click on it, it shows empty.
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 12:05 AM   #2
WizardHunt
macrumors Demi-God
 
WizardHunt's Avatar
 
Join Date: May 2007
Location: Las Vegas, Nevada USA
Quote:
Originally Posted by eroxx View Post
This is a COMPLETE mystery.

I have a folder in my trash that I CANNOT delete. I moved it to my desktop, and here is a screenshot of the file. It says there is 0 bytes in it. I've tried terminal commands, onyx, all sorts of things. I THINK the issue is with the strange character in the filename. When I try and rename it, it won't let me. .. Like I said, I've tried everything... Here's a screenshot of the folder:

http://o7.no/Uv87UX

If I double click on it, it shows empty.
It might be in use. Try rebooting then go to your trash and delete it.
If that does not work , try booting up in safe mode and then delete it. Make sure you empty your trash can afterwards.
__________________
Bought: 2014 27" Retina iMac 4.0GHz i7,32GB Ram, 1TB SSD Drive,M295X 4Gb - Express Shipping coming Oct 22, 10:30 AM PST
WizardHunt is offline   0 Reply With Quote
Old Nov 11, 2012, 12:08 AM   #3
eroxx
Thread Starter
macrumors 6502a
 
Join Date: Jul 2010
rebooting doesn't work (had already tried that)

how do you boot a mac in safe mode?

----------

got it ... ⇧ key... I'll try that, but not feeling highly confidant.
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 12:09 AM   #4
ConCat
Banned
 
Join Date: Jul 2012
Location: In an ethereal plane of existence.
There should never be a reason that a completely empty folder can't be deleted. At the very least it should be renameable. It sounds like filesystem corruption to me. I'd run a disk check just to be sure.

EDIT: Assuming that wasn't in the "everything" that you tried. Heh.
ConCat is offline   0 Reply With Quote
Old Nov 11, 2012, 12:14 AM   #5
Occamsrazr
macrumors 6502
 
Join Date: Apr 2012
have you tried "rm -rf <dir>"
Occamsrazr is offline   0 Reply With Quote
Old Nov 11, 2012, 12:15 AM   #6
eroxx
Thread Starter
macrumors 6502a
 
Join Date: Jul 2010
Yep
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 12:19 AM   #7
ConCat
Banned
 
Join Date: Jul 2012
Location: In an ethereal plane of existence.
Okay, what's the output of:

Code:
ls -lO@ /path/to/folder/..
er, actually, the output of its entry in its parent directory. Details details...
ConCat is offline   0 Reply With Quote
Old Nov 11, 2012, 12:58 AM   #8
iEdd
macrumors 68000
 
iEdd's Avatar
 
Join Date: Aug 2005
Location: Australia
Send a message via AIM to iEdd
What does ls think it's called?

Assuming it's on desktop, type:
Code:
cd Desktop
ls -l
into Terminal.

Edit: Oops, beaten. Anyway, hopefully ls gives you a name (even if weird) that you can feed to rm -rf.
iEdd is offline   0 Reply With Quote
Old Nov 11, 2012, 03:07 AM   #9
DisMyMac
macrumors 65816
 
DisMyMac's Avatar
 
Join Date: Sep 2009
Try duplicating the file, then deleting the duplicate. (Pointless?)
DisMyMac is offline   0 Reply With Quote
Old Nov 11, 2012, 03:09 AM   #10
Alfred.Woodden
macrumors member
 
Join Date: Dec 2007
Location: Norway
Smile

Trash-it mac app is by far the best for deleting "difficult" stubborn files. Works like a charm every single time.

http://www.macupdate.com/app/mac/8214/trash-it!
Alfred.Woodden is offline   0 Reply With Quote
Old Nov 11, 2012, 03:16 AM   #11
ConCat
Banned
 
Join Date: Jul 2012
Location: In an ethereal plane of existence.
Okay, what's the output of:

Code:
ls -lO@
ConCat is offline   0 Reply With Quote
Old Nov 11, 2012, 08:17 AM   #12
eroxx
Thread Starter
macrumors 6502a
 
Join Date: Jul 2010
Eric-iMac:contents ericuf$ ls -10@
ls: illegal option -- 0
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]

----------

This is what happens when using tra****:

http://o7.no/QywXBZ

I told you, this is the strangest problem ever
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 08:20 AM   #13
joe-h2o
macrumors 6502a
 
Join Date: Jun 2012
Quote:
Originally Posted by eroxx View Post
Eric-iMac:contents ericuf$ ls -10@
ls: illegal option -- 0
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]

----------

This is what happens when using tra****:

http://o7.no/QywXBZ

I told you, this is the strangest problem ever
That's a letter o not a zero. You should copy and paste the terminal command if you are unsure of the particular characters!

The "illegal option" has nothing to do with your stubborn file, it is the ls command telling you that zero is not a valid argument to pass to it.
joe-h2o is offline   0 Reply With Quote
Old Nov 11, 2012, 08:22 AM   #14
eroxx
Thread Starter
macrumors 6502a
 
Join Date: Jul 2010
Got it, but the above post and the error was response to using tra****.app ...
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 08:51 AM   #15
mlynchmob16
macrumors member
 
Join Date: Dec 2010
Location: Dublin, OH
When I have had issues where things refuse to delete, I usually just open up Activity Monitor and Force Quit Finder. Finder automatically resets and has always let me delete/empty trash after this. Hope it helps!
mlynchmob16 is offline   0 Reply With Quote
Old Nov 11, 2012, 08:56 AM   #16
eroxx
Thread Starter
macrumors 6502a
 
Join Date: Jul 2010
2 things:

1) I will try that - thanks for the idea (quitting finder)

2) Assuming it CAN'T delete, can it cause harm? I have it in a subfolder of my mac right now, so I won't "see" it, but if it's possible that it can jam up other things, that's a different story ...
eroxx is offline   0 Reply With Quote
Old Nov 11, 2012, 12:42 PM   #17
ZMacintosh
macrumors 6502a
 
Join Date: Nov 2008
try trashing it again and secure empty trash in standard user mode or if not safe mode and secure erase
ZMacintosh is offline   1 Reply With Quote
Old Nov 11, 2012, 12:46 PM   #18
Occamsrazr
macrumors 6502
 
Join Date: Apr 2012
Have you used tab complete? That will automatically escape any characters that need to be escaped.

Another thing you can do is "mv <weirdname> <normalname>" and then "rm -rf <normalname>"

Use tab completes or Ctrl-D completes for all files, just type the first few characters of the file name then do a tab or Ctrl-D
Occamsrazr is offline   0 Reply With Quote
Old Nov 11, 2012, 12:47 PM   #19
cfs112
macrumors member
 
Join Date: Oct 2012
i suggest running disk utility and "repair disk permissions". then re-boot.
__________________
2012 non-retina MBP (16GB RAM, SSD + HDD combo), iPhone 5, iPad Mini, 2007 24" iMac
cfs112 is offline   0 Reply With Quote
Old Dec 10, 2012, 08:41 AM   #20
Techy66
macrumors newbie
 
Join Date: Feb 2009
Send a message via Yahoo to Techy66
Can't Remove files from Trash

I have an external HD from which i sent many files to the trash. When i empty the trash either standard empty trash or via Terminal window using the many commands suggested in this forum, the files from my external drive still remain.

Is there any way to delete these files that the iMAC system does not seem to recognize as trash?
Thanks
Techy66
Techy66 is offline   0 Reply With Quote
Old Dec 10, 2012, 08:43 AM   #21
kaelell
macrumors 6502
 
Join Date: Nov 2009
I used a program called Trashme to solve problems with files that I could not delete.

highly recommended
kaelell is offline   0 Reply With Quote
Old Dec 10, 2012, 08:55 AM   #22
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
Quote:
Originally Posted by Techy66 View Post
I have an external HD from which i sent many files to the trash. When i empty the trash either standard empty trash or via Terminal window using the many commands suggested in this forum, the files from my external drive still remain.

Is there any way to delete these files that the iMAC system does not seem to recognize as trash?
Thanks
Techy66
Have you checked Finder > select external HDD >> GET INFO >>> Format and Sharing & Permissions yet?
simsaladimbamba is offline   0 Reply With Quote
Old Dec 10, 2012, 10:39 AM   #23
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by kaelell View Post
I used a program called Trashme to solve problems with files that I could not delete.
In most cases, app removal software like TrashMe doesn't do a thorough job of finding and removing files/folders related to deleted apps. For more information, read this and this. If you just want to delete the app, drag the .app file to the trash. No other software needed. If you want to completely remove all associated files/folders, no removal apps will do the job.

The most effective method for complete app removal is manual deletion:
Best way to FULLY DELETE a program
For problems deleting items or emptying the trash, you may find some useful ideas here:
You can't empty the Trash or move a file to the Trash
Solving Trash Problems
Can't move files to trash
Can't Empty Trash on a Mac
GGJstudios is offline   0 Reply With Quote
Old Dec 10, 2012, 12:26 PM   #24
kaelell
macrumors 6502
 
Join Date: Nov 2009
Quote:
Originally Posted by GGJstudios View Post
In most cases, app removal software like TrashMe doesn't do a thorough job of finding and removing files/folders related to deleted apps. For more information, read this and this. If you just want to delete the app, drag the .app file to the trash. No other software needed. If you want to completely remove all associated files/folders, no removal apps will do the job.

The most effective method for complete app removal is manual deletion:
Best way to FULLY DELETE a program
For problems deleting items or emptying the trash, you may find some useful ideas here:
You can't empty the Trash or move a file to the Trash
Solving Trash Problems
Can't move files to trash
Can't Empty Trash on a Mac
cheers,

I must say however I tried many times to delete a particular empty folder that had a permissions issue. In the end it was Trashme that let me get rid of it.
kaelell is offline   1 Reply With Quote
Old Dec 10, 2012, 12:32 PM   #25
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by kaelell View Post
I must say however I tried many times to delete a particular empty folder that had a permissions issue. In the end it was Trashme that let me get rid of it.
If you want to use it, that's your choice, but you don't need any 3rd party app to delete files on a Mac. You can also resolve permissions issues without 3rd party apps.
GGJstudios is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Desktops > iMac

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How Can I Rename/Delete a File While In The "Select File To Upload" Window? JJ2Man OS X 10.8 Mountain Lion 1 Aug 6, 2013 06:38 AM
SSD reporting wrong file space after large file delete chrisrosemusic1 MacBook Pro 2 Feb 28, 2013 08:56 AM
can't delete file njain Mac OS X 10.7 Lion 2 Dec 15, 2012 02:06 PM
did finder just delete my file??? stevemiller Mac OS X 10.7 Lion 0 Jul 18, 2012 05:20 PM

Forum Jump

All times are GMT -5. The time now is 02:41 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC