Removal of the Locked attribute for a batch of PDF files

Hi All - I have had a glitch with Dropbox this week and it created over 200,000 copies of PDF files from a shared location. Using Hazel I have been able to move the majority of these files to a holding folder and then delete them.

I still have 34,500 files still left in a folder. The files are locked (i.e. select Get Info and there is tick against Locked) and thus Hazel won’t move them. I can manually cut and paste them using Path Finder but it needs me to confirm the removal of the lock for each individual file.

Does anyone know how I can in bulk remove the “tick” for locked on these PDF files?

Appreciate any suggestions.

2 Likes

Thanks @akerr for your information. It worked so well and I have been able to remove all duplicated files.

2 Likes

If you want to change something for several files, you can not only do it in the shell, but also in Finder: CMD+I shows Info for the file. OPTION+CMD+I: the same for all selected files.

1 Like