Cannot delete folder in use--please help

yanksphish

macrumors newbie
Original poster
Nov 17, 2009
3
1
I have 2 folders on an external HD attached to my airport extreme that I cannot delete. When I try to delete them it says they are in use. They both look empty. I'm not familiar with terminal, but I've tried a few different commands I've found on these forums. I've tried sudo rm -rt and similar commands and they all say the directory is not empty. Any ideas on how to delete these folders will be very nice.

Thanks
Joe
 

GGJstudios

macrumors Westmere
May 16, 2008
44,427
762
Try closing some applications, such as Preview or any other you've used on files on that drive. Then try deleting the folders.
 

yanksphish

macrumors newbie
Original poster
Nov 17, 2009
3
1
i get the same message saying the directory is not empty. I'm not sure why it won't delete it. I don't have any programs running.
 

ViViDboarder

macrumors 68040
Jun 25, 2008
3,446
0
USA
Instead of rebooting you can usually just logout.

There are also other ways to see what process is actually using the drive. I don't remember them though. Something from the command line using 'lsof' I think.
 

drag0nfly

macrumors newbie
Jun 18, 2011
1
0
same problem; but none of previous solutions works

So, I have an - apparently - empty [directoryname1]/[directoryname2] sitting on my storage raid. no files n either directory. double checked using xray. nada. Neither directory is locked; I have gone in using finder and term window; have verified permissions and ownership; I am admin.


i cannot delete [directoryname1]/[directoryname2] or cd into [directoryname1] and just delete [directoryname2]

However! I can change the names of either directory without the system fussing at me.

in all cases, I am told forbidden to delete tho cause they are "in-use" I have no apps running on them, rebooted, etc....I have specifically ran NORTON against them to look for a bit of clever hack code. If it is there, it is more clever than Norton, which was verified updated yesterday.

completely, utterly frustrated and stumped.
 

liljake119

macrumors newbie
Oct 30, 2013
1
0
Same problem. Weird circumstances

I am trying to delete a folder from my Macbook Pro with retina 13 running 10.8. Its just a normal user created folder. It has no contents (none hidden either) and I cannot change the name of the folder, but I can rename its parent directory. I have tried the above solutions with no luck. I even upgraded to Mavericks and it still tells me the folder is in use.

Any ideas?
 

Similar threads

  • Hicks.
6
Replies
6
Views
249
  • Golfmusician
6
Replies
6
Views
191
  • Stupot123
4
Replies
4
Views
328
  • user19
3
Replies
3
Views
584
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.