find * -type f -exec chmod -x {} \;
ie, find all files (not directories), and execute a command to remove all execute permissions for each file.
All the posts here have been copied over to my main site at https://timwise.co.uk/ - this blog is kept online for posterity, avoiding bit-rot / link-rot, and the comments.
1 comment:
Thank you for the helpful hint!
Post a Comment