Finding Locked Files on your Drives

When transferring a large number of files to my Mac from an old hard drive it apparently left several Random files locked on my system. I know how to get rid of them if locked.. but how do I scan my drive to find all of the locked files it left?

Everytime I seem to be encountering one it is crashing my application.

Thanks,

Christopher

Mac Pro Quad 2.8 - Jan 08 Rev, Mac OS X (10.5.2), 10 Gigs of Ram, ATI Radeon 2600 XT

Posted on Aug 15, 2008 7:28 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 17, 2008 8:07 PM

Sorry.. you are correct.. I misread it as someone stating the Apple knowledge base answer of how to unlock them.

The method suggested worked (just cd up to a top level directory first".
sudo find . -flags uch.

Just so all the info's in one place:
"I.e." sudo chflags -R nouchg for unlocking them.
from
http://support.apple.com/kb/TS1402

I found the Option button plus empty trash works too for getting locked files out of there sometimes

As well as Get Info followed by unchecking "Locked".

Christopher
4 replies
Question marked as Top-ranking reply

Aug 17, 2008 8:07 PM in response to crsouser

Sorry.. you are correct.. I misread it as someone stating the Apple knowledge base answer of how to unlock them.

The method suggested worked (just cd up to a top level directory first".
sudo find . -flags uch.

Just so all the info's in one place:
"I.e." sudo chflags -R nouchg for unlocking them.
from
http://support.apple.com/kb/TS1402

I found the Option button plus empty trash works too for getting locked files out of there sometimes

As well as Get Info followed by unchecking "Locked".

Christopher

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Finding Locked Files on your Drives

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.