From a606ed1106f6582c6da37bf88e1eab6631883905 Mon Sep 17 00:00:00 2001
From: autistic-symposium-helper
<138340846+autistic-symposium-helper@users.noreply.github.com>
Date: Tue, 3 Dec 2024 14:59:21 -0800
Subject: [PATCH] add cli cmd remove metadata from images with exiftool
---
shell/README.md | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/shell/README.md b/shell/README.md
index 1ed8a32..daf9a47 100644
--- a/shell/README.md
+++ b/shell/README.md
@@ -1,23 +1,36 @@
-## some quick and useful shell commands
+## shell stuff
+### chapters
+
+
+
+* **[shell scripts](shell_scripts)**
+* **[zsh stuff](zsh)**
+
+
+
+---
+
+### some quick and useful shell commands
+
+
* downloading all pdfs of url
```shell
-$ wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
+wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
```
-
* extended attributes of files
```shell
-$ xattr -l $file
+xattr -l $file
```
@@ -27,7 +40,7 @@ $ xattr -l $file
```shell
-$ codesign -dvvv $file.app
+codesign -dvvv $file.app
```
@@ -37,17 +50,23 @@ $ codesign -dvvv $file.app
```shell
-$ system_profiler -detaillevel full
+system_profiler -detaillevel full
```
* 瑪麗
+
+
+```shell
+convert -size 360x360 xc:white -font "FreeMono" -pointsize 12 -fill black -draw @ascii.txt
+```
+* remove metadata from images with **[exiftool](https://exiftool.org/install.html)**
```shell
-$ convert -size 360x360 xc:white -font "FreeMono" -pointsize 12 -fill black -draw @ascii.txt
+exiftool -all= -overwrite_original input.jpg -o output.jpg
```