Jerry,
I have a better one:
chflag

So...if they are locked, and you can't see the locks from the GetInfo dialog
box,
Open the terminal application again and type what you see on the line below:
cd .Trash
Then hit the return key
Then type what you see on the line below:
chflags nouchg *.*
Then hit the return key
This unsets the flag that locks the files.
NOW you can type the line below:
sudo rm *.*
Then hit the return key.

BWAHAHAHAHAHAHAA!!!!!!!
Schoun




On 4/3/03 1:49 PM, Jerry Yeager at jerry at browseryshop.com wrote:

> What is causing the problem is that there are several files (icons and
> folders) in this pre-OS-X program that are locked and some may be
> invisible as well.
> 
> Schoun's advice should work,
> but if it does not, then drag everything out of the trash, and use the
> get info feature to unlock and change the owner of the files to you.
> Delete what you can.
> The worse case is that the locked invisible ones still will not
> delete. If that happens, Switch to OS-9 and use Res-Edit to change the
> invisibility to visible, change the owner, etc. then delete those
> things.
> 
> Jerry
> 
> On Thursday, April 3, 2003, at 01:25  PM, Schoun Regan wrote:
> 
>> Alex,
>> If you feel comfortable with this...
>> Open the Terminal application located in /Applications/Utilities
>> Once in there, type what's on the following line below-case IS
>> important:
>> cd .Trash
>> Then hit the return key
>> This will put you in the trash folder just like you were looking at it
>> from
>> the Finder except you are looking at it from the inside.
>> Now type what's below:
>> ls -la
>> Then hit the return key
>> This will show you all the files, even the invisible ones, in your
>> trash.
>> If you want to get rid of them, type what's in the line below EXACTLY:
>> sudo rm *.*
>> And hit the return key
>> Now enter your password when asked and hit the return key
>> This tells the computer to become a SUPERUSER for a period of five
>> minutes.
>> It also tells the computer to remove ANY files in your Trash
>> You should now quit the Terminal application and click on the Trash
>> Can on
>> your dock to open the window.
>> Everything in there should now be gone.
>> 
>> Or you could take the safest route by going to www.versiontracker.com
>> and
>> downloading...
>> 
>> CanMan
>>  or
>> Delete It
>>  or
>> DropObliter8
>>  or
>> LockBurn
>>  or
>> Trash It!
>>  or
>> Trash Locked Files
>>  or
>> unlockAll
>> 
>> It might be best to use a free or shareware application for this job
>> if you
>> don't feel comfortable typing, especially since a mistake could erase
>> more
>> than your data if you are not in the right location at the time.
>> 
>> So, in summation, BE careful if you are not sure what you are doing in
>> the
>> Terminal and *NEVER* type rm *.* unless you know for sure you are in
>> the
>> right place.
>> 
>> Let that be a lesson to you kids out there. :)
>> Schoun
>> 
>> 
>> 
>> 
>> On 4/3/03 12:33 PM, Alex Whitman at alylex at earthlink.net wrote:
>> 
>>> I'm running 10.2.4.  When I try to empty the trash, I get an error box
>>> with the message: "The operation cannot be completed because the item
>>> "Fr28.psf" is locked."  I don't know what "Fr28.psf" is, and Finder
>>> doesn't find it.  Within the error box are 2 buttons, "Stop" and
>>> "Continue."  When I click Continue I get another error message saying
>>> "01.psf" is locked.  I don't know what that is either.  Nonetheless, I
>>> click Continue again and it seems to work, but even when the error
>>> message goes away, a folder called "PhotoImpression copy" is still in
>>> the trash even though the original PhotoImpression icon is now gone.
>>> I
>>> really do want all vestiges of PhotoImpression to disappear.  Help?
>>> 
>>> Thanks,
>>> Alex Whitman
>>> 
>>> 
>>> 
>>> | The next meeting of the Louisville Computer Society will
>>> | be March 25. The LCS Web page is <http://www.kymac.org>.
>> 
>> 
>> 
>> | The next meeting of the Louisville Computer Society will
>> | be March 25. The LCS Web page is <http://www.kymac.org>.
>> 
>> 
>> 
> 
> 
> 
> | The next meeting of the Louisville Computer Society will
> | be March 25. The LCS Web page is <http://www.kymac.org>.



| The next meeting of the Louisville Computer Society will
| be March 25. The LCS Web page is <http://www.kymac.org>.


Reply via email to