Block files and folders is especially useful in the scenario where more than one user is present on a macOS operating system. "Locked" mode for files and folders is designed to prevent sensitive files from being modified / edited.
This is a special "permission", somewhat similar to "Read Only" in Windows, but it is much better developed in terms of security.
In case we are the sole user of a Mac, lock files not much is profitable, and when a folder are many files blocked, Taken from other devices become less stressful.
The easiest way to unlock a file is to do it right-click on "Get Info" box and file properties, to unchecked "Locked"
when we meet more files blockedThat are located in multiple folders, unlock every file separately would take us a long time and would be tedious. In this scenario we will use a command line in Terminal, which eliminate the lock on all files and folders locked.
How to unlock multiple files and folders simultaneously on macOS - Unlock multiple files and folders in macOS
Open the Terminal and sailed "cd"To the folder containing files blocked.
In our scenario, we have a folder where there are .jpg files (pictures) blocked. Locked.
Terminal Navigate to the location on the hard file and execute the command:
chflags -R nouchg *
This means that all files (*) in the current folder and subfolders (-R - recursive) will be unlocked.
You can unlock files from one location and without having to browse to the folder where you can find fisirelor. Stici path is provided to the (path) of the file exactly. For example, if you unlocked all files and folders under the folder "Documents" (MacOS system folder), the command line to be executed will be:
chflags -R nouchg ~/Documents
Devices “Enter”/“ Return ”for command line execution.