Force-Delete locked files

by Wolfram Saringer  (2014-10-27)
last change: 2014-10-27

If trying to remove a file with 'rm' on the command line gives you the error 'operation not permitted' you might want to take a look at the containing folder whether its set to protected. If it is not you might want to install the Developer Tools and unlock it:

/Developer/Tools/SetFile -a l <filename or wildcard>

all articles represent the sole opinion of their respective author. all content comes without any warranty for correctnes, despite due diligence.