Help! I think I did a dumb thing?

karavite

Registered
Some time ago I reinstalled OS X 10.1 and though I had no idea what I was doing, I thought it would be a good idea to back up some files. So I copied various OS X stuff to a regular old Classic partition I never use. Included in my back up was /sw. (I know - this was dumb).

This morning I decided to clean house and dragged all that stuff to the trash. I could not empty the trash without permission errors. I tried the script (that I found here on macosx.com):

#!/bin/sh
sudo chflags -R nouchg ~/.Trash/*
sudo rm -R ~/.Trash

but when I run it I get:

chflags: /Users/dean/.Trash/*: No such file or directory
rm: /Users/dean/.Trash: No such file or directory
[localhost:~] dean%

How can I not have a .Trash dir? I swear I saw it before!

Any way, I picked out every item I could from the Trash icon, copied it to a new directory and rm -r that directory. Now, there are just a few files I cannot empty or even move from the trash:

emacs (listed at zero k)
.DS_Store which occasionally replicates itself - I have 2 now.
and a Folder titled "0" with a little red circle with a white "-" sign over what looks like a otherwise normal folder icon.

Please help me and I'll never screw around like this again! Help me get these damn files thrown out and tell me if I should have a .Trash dir. Thanks!
 
I guess I figured it out - sort of. The troublesome files were located in the Trash directory on the Volume of the drive from where I originally tried to trash the files - /Volumes/Partition.

I used the terminal to hunt around for them, found them and removed them. I'm guessing the script did its job the first time I ran it (which included deleting my .Trash dir), but until I zapped those stupid files, throwing new items from my OSX drive in the trash did not result in creating a new .Trash dir in /Users/mylogon because it is there now.
 
Back
Top