[X-Unix] Using the CLI to delete "pesky" files/folders
    ~flipper 
    lord.flipper at gmail.com
       
    Sun Apr 24 20:29:47 PDT 2005
    
    
  
Mark Gibson wrote:
>John,
>
>Thanks but nothing happened (in the trash anyway).
>
>Do I need to restart before the GUI catches up?
>
>If the files are from a volume other than the boot volume do I need 
>to try there too (or is the trash information for all volumes stored 
>in ~/.Trash)?
Mark,
Try this:
In OS X, just open your Terminal and type:
   sudo rm
  and then drag and drop the items (open trash, drag all the items) to 
anywhere in the terminal window and hit <return>. It'll ask for your 
password, type it in and hit <return> again.
At first it will seem the items are still in Trash, but ckick once in 
Trash and they're actually gone. (It takes an 'action' of any kind 
before the Finder 'catches up' with the reality of the folder's 
situation).
If you ever do the OS 9 'trick', again, don't try deleting .trash, 
just dump the Trash contents onto the desktop and, from OS 9 select 
the items, drag to your Trash and delete.
Brian s
    
    
More information about the X-Unix
mailing list