Created
October 6, 2016 23:05
-
-
Save jmakeig/615f96084d22b8a6cd922e48f2af3240 to your computer and use it in GitHub Desktop.
Recursively lock PowerPoint files in OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/evn bash | |
# <http://hints.macworld.com/article.php?story=20031017061722471> | |
find . -name '*.pptx' -exec chflags uchg {} \; # nouchg is the antidote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find . -name "*.html" -print0 | xargs -0 chflags uchg