Unlock OS X files
I transferred a whole load of photos from my camera today and they were all locked (as a result of setting them this way on the camera). Way too many to unlock individually with cmd ⌘ + I.
Question: How to unlock a whole folder of locked files?
- Put all the files in one folder;
- Open Terminal (you’ll find it in Finder > Applications > Utilities);
- Type: sudo chflags -R nouchg with a space at the end;
- From a Finder window, drag the folder into the Terminal window. This will type the path and name of the folder in the Terminal window (and it also handily “escapes” the characters that are OK in a folder, but not in a command (like blanks)).
- Press enter;
- Voilà! All unlocked.
- Quit Terminal.
If some files seem not to have been unlocked, don’t despair. They probably will have been unlocked; it’s just that Finder hasn’t updated the icons yet. Close finder and reopen it, or carry on and move the files — whatever works for you to get Finder to update the screen.