Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The title pretty much says it all. Using the File Inspector I can see if a given file is locked or not, but I would like to be able to create a smart folder containing all the files in a given folder that are not locked.

(I need this as a convenience to quickly find the files I have checked out for editing on another machine which I am accessing through a shared folder)

share|improve this question
I wanted to quickly answer "yes sure", checked the additional options and was surprised that there seems to be no option for searching for locked files in the finder. :-( I only found solutions for terminal like that one: – MostlyHarmless Apr 26 '11 at 12:02
up vote 2 down vote accepted Goes over all the attributes spotlight has, and it looks like you could possibly create a smart folder with any of these attributes, unfortunately none of them mention locked file status.

ls -lO | grep uchg will give you a list of all the files in a folder which are locked or unchangeable, but only in the terminal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.