summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-16 15:36:15 -0400
committerJune McEnroe <june@causal.agency>2018-03-16 15:36:15 -0400
commitcb2be0ee7b8248410e5aec5a0eb0af30b52063b3 (patch)
treeb15336e87674805777efe4af7cf97075ce35c24b
parentAdd pdf script (diff)
downloadsrc-cb2be0ee7b8248410e5aec5a0eb0af30b52063b3.tar.gz
src-cb2be0ee7b8248410e5aec5a0eb0af30b52063b3.zip
Set PDFs read-only
Preview.app has an annoying habit of trying to edit PDFs when it lags
out and I click on things.
Diffstat (limited to '')
-rwxr-xr-xpdf.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf.zsh b/pdf.zsh
index 81e3f706..a04eda66 100755
--- a/pdf.zsh
+++ b/pdf.zsh
@@ -20,3 +20,5 @@ intel intel-64-sdm-vol-1.pdf a4/60/253665-sdm-vol-1.pdf
 intel intel-64-sdm-vol-2.pdf a4/60/325383-sdm-vol-2abcd.pdf
 intel intel-64-sdm-vol-3.pdf a4/60/325384-sdm-vol-3abcd.pdf
 intel intel-64-sdm-vol-4.pdf 22/0d/335592-sdm-vol-4.pdf
+
+chmod 444 pdf/*.pdf