image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old December 22nd, 2003, 02:40 PM
Registered User
 
Join Date: Nov 2002
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
nordex is on a distinguished road
Question Unix force dedlete

I have forgotten the script you would use for a file that wont delete. So when you open up the terminal does anyone know the script to force delete?
Reply With Quote
  #2  
Old December 22nd, 2003, 02:41 PM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
cd ~/.Trash
<hit return>

sudo rm -rf

put a space after the f and drag the item you want deleted to the terminal so that its path is automatically entered, then press return

give it your admin password and hit return
__________________

Reply With Quote
  #3  
Old December 22nd, 2003, 02:54 PM
Registered User
 
Join Date: Nov 2002
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
nordex is on a distinguished road
Thank you very much
Reply With Quote
  #4  
Old December 22nd, 2003, 03:44 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,322
Thanks: 2
Thanked 21 Times in 19 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
Or just do a 'sudo rm -rf *' after cd-ing to the Trash. Removes anything inside the current directory without asking again. Kind of like a contract killer. And similarly dangerous. ;-)
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.5
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
iPhone 3G 16 GB white, AppleTV 1G 40 GB

Mac user since 1987, Apple Product Professional 2007, 2008. Apple Certified Support Professional 10.5
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 02:17 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.