Skip to content

Instantly share code, notes, and snippets.

@jmakeig
Created October 6, 2016 23:05
Show Gist options
  • Save jmakeig/615f96084d22b8a6cd922e48f2af3240 to your computer and use it in GitHub Desktop.
Save jmakeig/615f96084d22b8a6cd922e48f2af3240 to your computer and use it in GitHub Desktop.
Recursively lock PowerPoint files in OS X
#! /usr/bin/evn bash
# <http://hints.macworld.com/article.php?story=20031017061722471>
find . -name '*.pptx' -exec chflags uchg {} \; # nouchg is the antidote
@jmakeig
Copy link
Author

jmakeig commented Jul 11, 2017

find . -name "*.html" -print0 | xargs -0 chflags uchg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment