Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
Imported from the Apple Support Forums via the Wayback Machine 🔗
Open the Terminal in the /Applications/Utilities/ folder and run:
sudo find . -flags uchg
Provide your administrator password, which won't appear on the screen while it is being typed; the command may take a few minutes. Do not unlock the BootX or boot.efi items.
(34796)
0
crsouser·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Again *I know how to fix it*.. but +I am looking for an easier method of locating the locked files+ than manually scrolling through a couple hundred directories and 40,000 files looking for a little lock on the file.
If there is even one it seems to be able to crash my programs that I use on the files.
0
V.K.·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Niel's method doesn't unlock those files, it only finds them. seems to me that's exactly what you are asking for.
0
crsouser·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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".