If you are afraid that you might accidentally delete a file, you can lock it from the Get Info window. Once you click the Locked checkbox, you receive a warning message if you try to delete the file: ”Item [filename] is locked. Do you want to move it to the Trash anyway?” If you have the proper permissions, you can override the lock by clicking Continue, which will move the file to Trash. Likewise, If you try to modify a locked file, you will receive an error message when you try to save your changes.
Moving a locked file to another folder or drive creates a copy of the file instead of moving it. The original stays in the same location.
If you wish to lock a group of files at once, select the files and then hold down the ⌘ + ⌥ + I keystroke combination (Command + Option + I) to open the Multiple Items Get Info box.
Quick Guide: Locking a File
- Select the file you want to lock.
- Click File > Get Info or press the ⌘ + I keystroke combination.
- To lock a group of files, select the files and then press the ⌘ + ⌥ + I keystroke combination to open the Multiple Items Get Info box.
- Click the Locked checkbox.
- To unlock a file, select the file(s), display the Get Info window (or for multiple file, the Multiple Items Get Info window) and then uncheck the Locked checkbox.
- Read Web Pages Offline using Safari’s Reading List Feature
- Create Links to an E-mail Messages in the Notes app
- Sync Google Contacts with your Mac’s Contacts application
- Turn TextEdit into a Word Processor by Inserting Tables