Skip to content
Prev 360170 / 398503 Next

How to delete Locked files in Mac

The command:

   system("chflags -R nouchg /path/to/your/directory")

... should unlock your files recursively in the directory. Then proceed with 
file.remove()

B.
On Apr 16, 2016, at 3:09 PM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote: