Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Archive > Archives of Old Posts > Macintosh Computers

 
 
Thread Tools Search this Thread Display Modes
Old Jun 3, 2004, 07:31 AM   #1
mikebatho
macrumors 6502a
 
Join Date: Jun 2004
Location: Greater Manchester UK
Angry FORCE DELETE FUNCTION..?

I've got some sit. files & stuff on my desktop that won't delete. It keeps saying that they're in use by another function, like copying, moving or emptying trash. Problem is, they're not!!!

I've restarted, relaunched finder, unhooked the internet....

Is there a way to force them to delete, then force the trash to empty...?
mikebatho is offline   0
Old Jun 3, 2004, 07:53 AM   #2
jxyama
macrumors 68040
 
jxyama's Avatar
 
Join Date: Apr 2003
easiest way is to use the terminal.

pull up a terminal window.

if you have files on desktop you want to remove, type:

rm Desktop/[filename]

if you have stuff in the trash that won't empty, type:

rm -r .Trash/
jxyama is offline   0
Old Jun 3, 2004, 09:56 AM   #3
virividox
macrumors 68040
 
virividox's Avatar
 
Join Date: Aug 2003
Location: Manila - Nottingham - Philadelphia - Santa Barbara - Boston (ugh hate not knowing where to call home)
you could try using the program modifier lite if you dont want to use terminal; you can find it on version tracker
__________________
17" MBP , 2 gig ram, 200 gig fw800 + 120 gig fw400 + 250 gig usb2 ext, 5g 80gig Ipod, Tiger
d200 & d70
virividox is offline   0
Old Jun 3, 2004, 10:01 AM   #4
SilentPanda
Demi-God (Moderator emeritus)
 
SilentPanda's Avatar
 
Join Date: Oct 2002
Location: The Bamboo Forest
Quote:
Originally Posted by mikebatho
I've got some sit. files & stuff on my desktop that won't delete. It keeps saying that they're in use by another function, like copying, moving or emptying trash. Problem is, they're not!!!

I've restarted, relaunched finder, unhooked the internet....

Is there a way to force them to delete, then force the trash to empty...?
This is going to sound silly but...

Rename the offending file to something like "deleteme.rtf" Open it with text edit. Save the file in text edit. Delete the file off your desktop. A download from Internet Explorer is the most typical culprit in the locked file case (although not all the time).
__________________
My 24 hour web cam!
SilentPanda is offline   0
Old Jun 3, 2004, 10:29 AM   #5
RiseAgainst
macrumors regular
 
Join Date: Jun 2003
Go to macupdate and dl a program called Tra****. All you have to do is drag the file on the trash it icon and it will force delete it. You can even force secure delete it.
__________________
To be guided by faith is to be misled.
RiseAgainst is offline   0
Old Jun 3, 2004, 10:33 AM   #6
PHARAOHk
macrumors regular
 
Join Date: Feb 2003
I've had a file that wouldn't delete in the trash can for a couple of days and did the terminal command and it worked great. Thanks.



Quote:
Originally Posted by jxyama
easiest way is to use the terminal.

pull up a terminal window.

if you have files on desktop you want to remove, type:

rm Desktop/[filename]

if you have stuff in the trash that won't empty, type:

rm -r .Trash/
PHARAOHk is offline   0
Old Jun 3, 2004, 10:36 AM   #7
abhishekit
macrumors 65816
 
abhishekit's Avatar
 
Join Date: Nov 2003
Location: akron , ohio
Send a message via Yahoo to abhishekit
if u hv the dmg still mounted, it wont delete it. So you hv to unmount it. Also, if you are reading the read me , and keep it open in textedit, and then trash the package and delete, it wd say its in use..
if its none of the above, then as others have pointed out, just use the terminal.

p.s. it shouldnt happen normally. so whenever u mount an image on the desktop, first copy the icon in your hard disk, and then run it. then just unmount , and delete..

cheers
__________________
" Only two things are infinite, the universe and human stupidity, and I'm not sure about the former" Albert Einstein
one of the videos I made
abhishekit is offline   0
Old Jun 3, 2004, 10:50 AM   #8
whooleytoo
macrumors 603
 
whooleytoo's Avatar
 
Join Date: Aug 2002
Location: Cork, Ireland.
Send a message via AIM to whooleytoo
Quote:
Originally Posted by mikebatho
I've got some sit. files & stuff on my desktop that won't delete. It keeps saying that they're in use by another function, like copying, moving or emptying trash. Problem is, they're not!!!

I've restarted, relaunched finder, unhooked the internet....

Is there a way to force them to delete, then force the trash to empty...?
A program called Sloth might be useful - it should reveal what program/process is keeping the file open. You should be able to find it on versiontracker.com
__________________
Mac <- Macintosh <- McIntosh apples <- John McIntosh <- McIntosh surname <- "Mac an toshach" <- "Son of the Chief"
whooleytoo is offline   0
Old Jun 3, 2004, 11:14 AM   #9
janey
macrumors Demi-Goddess
 
janey's Avatar
 
Join Date: Dec 2002
Location: sunny los angeles
actually, if you want to use rm, an rm -r might work, but an rm -rf is a better idea.
mmm sudo rm -rf / baby (just joking, plz do not try that)
__________________
iPad | 15" MacBook Pro | black (iPhone 3GS|MacBook) | Mac mini server
moof!

janey is offline   0
Old Jun 3, 2004, 11:25 AM   #10
mikebatho
Thread Starter
macrumors 6502a
 
Join Date: Jun 2004
Location: Greater Manchester UK
Hoorah!!! success!!!

Using text edit worked a treat. Had to click on the ignore fancy text thingy boxt to get it to open in TE, but then once saved, away it went quite happily to the bin....

Good job, because some of us don't know anything about computers, and don't know what THE TERMINAL is..!!!!!

Cheers.
mikebatho is offline   0
Old Jun 3, 2004, 11:29 AM   #11
janey
macrumors Demi-Goddess
 
janey's Avatar
 
Join Date: Dec 2002
Location: sunny los angeles
Quote:
Originally Posted by mikebatho
Good job, because some of us don't know anything about computers, and don't know what THE TERMINAL is..!!!!!
Bah!!! Terminal.app should be your best friend in Mac OS X
Its in Applications > Utilities. Called the Terminal. It's an application. If used properly, it can do wonders, and maybe save your ass once in a while too.
And you never know, it might come handy one day. And Fink and Darwinports is so much nicer when used sans crap like FinkCommander :x
__________________
iPad | 15" MacBook Pro | black (iPhone 3GS|MacBook) | Mac mini server
moof!

janey is offline   0
Old Jun 3, 2004, 12:11 PM   #12
Counterfit
macrumors 601
 
Counterfit's Avatar
 
Join Date: Aug 2003
Location: sitting on your shoulder
Quote:
Originally Posted by RiseAgainst
Tra****.
LOL The filter made a funny
__________________
"People shouldn't use word processors as web development tools. It's like using a domestic cat to spread butter on your toast." -ad
Counterfit is offline   0
Old Jun 3, 2004, 02:19 PM   #13
Nermal
Demi-God (Moderator)
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
Yeah I remember it doing the same when I mentioned a Matsu****a CD-ROM drive a few months back. I didn't even notice that it had "****" in it until the filter picked it up
Nermal is offline   0
Old Jun 3, 2004, 03:11 PM   #14
stcanard
macrumors 65816
 
stcanard's Avatar
 
Join Date: Oct 2003
Location: Vancouver
This has been mentioned before, but if you have a file that OSX insists is in use and you can't figure out how, use the lsof command in terminal and it will tell you what process(es) has it open. Something like this:

bash> lsof myFile.txt

Then you can kill -9 the process if necessary.
stcanard is offline   0
Old Jun 3, 2004, 05:30 PM   #15
donniedarko
macrumors regular
 
Join Date: Jan 2004
Location: Los Angeles
Send a message via AIM to donniedarko
press the option key, during the deletion...it worked in classic and works for me. I was having trouble uninstalling Norton stuff and I was recommended to do this and it works
donniedarko is offline   0

 
MacRumors Forums > Archive > Archives of Old Posts > Macintosh Computers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Force Delete a Directory file! Rmafive Mac OS X 1 Jul 27, 2008 02:09 AM
Force Delete - help! OldCorpse Mac Applications and Mac App Store 1 Jul 23, 2007 09:59 PM
Force delete a file? p0intblank Mac Basics and Help 2 Jul 11, 2006 03:50 AM
Force delete/trash locked items? GigaWire Mac Applications and Mac App Store 6 Feb 6, 2004 11:35 AM
Force Delete videonastie General Mac Discussion 11 Jan 28, 2003 05:05 AM


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

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC