add cli cmd remove metadata from images with exiftool

This commit is contained in:
autistic-symposium-helper 2024-12-03 14:59:21 -08:00 committed by GitHub
parent d004293a8b
commit a606ed1106
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,23 +1,36 @@
## some quick and useful shell commands
## shell stuff
<br>
### chapters
<br>
* **[shell scripts](shell_scripts)**
* **[zsh stuff](zsh)**
<br>
---
### some quick and useful shell commands
<br>
* downloading all pdfs of url
<br>
```shell
$ wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
```
<br>
* extended attributes of files
```shell
$ xattr -l $file
xattr -l $file
```
<br>
@ -27,7 +40,7 @@ $ xattr -l $file
<br>
```shell
$ codesign -dvvv $file.app
codesign -dvvv $file.app
```
<br>
@ -37,17 +50,23 @@ $ codesign -dvvv $file.app
<br>
```shell
$ system_profiler -detaillevel full
system_profiler -detaillevel full
```
<br>
* 瑪麗
<br>
```shell
convert -size 360x360 xc:white -font "FreeMono" -pointsize 12 -fill black -draw @ascii.txt
```
<br>
* 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
```