Mac: Unlocking multiple file easily

Filed in mac Leave a comment

recently copied some files from windows drive into my mac and ended up with a lot of read-only files being locked.
is a pain to unlock that thousand over files to delete them! good i found this method

chflags -R nouchg <directory-name>

simply open terminal and type the above command in, it will recursively unlock all folders and files in that directory, the same goes if you are unlocking one file only:
chflags nouchg <dir-fileName>

, ,

TOP