Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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: macosx.com/tech-support/mac/finding-a-locked-file/21936.html –  Martin Apr 26 '11 at 12:02

1 Answer 1

up vote 2 down vote accepted

http://developer.apple.com/library/mac/#documentation/Carbon/Reference/MetadataAttributesRef/Reference/CommonAttrs.html 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

 
discard

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.