aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-02-17-exiftool.org
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
committerChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
commit51a7a02f0c96d49b68fbcc155414c218207fa270 (patch)
tree845af8aad0e8769352efc02fcd1044eed9cc1ec1 /content/blog/2022-02-17-exiftool.org
parent7d3e80ebf1dc770eac0e21890b74f18ba2d15a6b (diff)
downloadcleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.gz
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.bz2
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.zip
fix grammar in 2022 posts
Diffstat (limited to 'content/blog/2022-02-17-exiftool.org')
-rw-r--r--content/blog/2022-02-17-exiftool.org38
1 files changed, 18 insertions, 20 deletions
diff --git a/content/blog/2022-02-17-exiftool.org b/content/blog/2022-02-17-exiftool.org
index 8383ddd..45308ef 100644
--- a/content/blog/2022-02-17-exiftool.org
+++ b/content/blog/2022-02-17-exiftool.org
@@ -5,14 +5,14 @@
** Why Strip Metadata?
-Okay, so you want to strip metadata from your photos. Perhaps you take
-pictures of very rare birds, and the location metadata is a gold mine
-for poachers, or perhaps you're just privacy-oriented like me and prefer
-to strip metadata from publicly-available images.
+Okay, so you want to strip metadata from your photos. Perhaps you take pictures
+of very rare birds, and the location metadata is a gold mine for poachers, or
+perhaps you're just privacy-oriented like me and prefer to strip metadata from
+publicly-available images.
-There are various components of image metadata that you may want to
-delete before releasing a photo to the public. Here's an incomplete list
-of things I could easily see just by inspecting a photo on my laptop:
+There are various components of image metadata that you may want to delete
+before releasing a photo to the public. Here's an incomplete list of things I
+could easily see just by inspecting a photo on my laptop:
- Location (Latitude & Longitude)
- Dimensions
@@ -25,15 +25,14 @@ of things I could easily see just by inspecting a photo on my laptop:
- Metering Mode
- F Number
-Regardless of your reasoning, I'm going to explain how I used the
-=exiftool= package in Linux to automatically strip metadata from all
-images in a directory (+ subdirectories).
+Regardless of your reasoning, I'm going to explain how I used the =exiftool=
+package in Linux to automatically strip metadata from all images in a directory
+(+ subdirectories).
** Installing =exiftool=
-First things first: we need to install the tool. I'm running Debian 11
-on my server (Ubuntu will work the same), so the command is as simple
-as:
+First things first: we need to install the tool. I'm running Debian 11 on my
+server (Ubuntu will work the same), so the command is as simple as:
#+begin_src sh
sudo apt install exiftool
@@ -44,16 +43,15 @@ distributions, but I really only care to test out this one package.
** Recursively Strip Data
-I actually use this tool extensively to strip any photos uploaded to the
-website that serves all the images for my blog (=img.cleberg.net=).
+I actually use this tool extensively to strip any photos uploaded to the website
+that serves all the images for my blog (=img.cleberg.net=).
-The following command is incredibly useful and can be modified to
-include any image extensions that =exiftool= supports:
+The following command is incredibly useful and can be modified to include any
+image extensions that =exiftool= supports:
#+begin_src sh
exiftool -r -all= -ext jpg -ext png /path/to/directory/
#+end_src
-The output of the command will let you know how many directories were
-scanned, how many images were updated, and how many images were
-unchanged.
+The output of the command will let you know how many directories were scanned,
+how many images were updated, and how many images were unchanged.