mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-14 20:52:17 -04:00
add cli cmd remove metadata from images with exiftool
This commit is contained in:
parent
d004293a8b
commit
a606ed1106
1 changed files with 26 additions and 7 deletions
|
@ -1,23 +1,36 @@
|
||||||
## some quick and useful shell commands
|
## shell stuff
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
### chapters
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
* **[shell scripts](shell_scripts)**
|
||||||
|
* **[zsh stuff](zsh)**
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### some quick and useful shell commands
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
* downloading all pdfs of url
|
* downloading all pdfs of url
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
|
wget --recursive --level=2 --no-directories --no-host-directories --accept pdf
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
* extended attributes of files
|
* extended attributes of files
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ xattr -l $file
|
xattr -l $file
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -27,7 +40,7 @@ $ xattr -l $file
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ codesign -dvvv $file.app
|
codesign -dvvv $file.app
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -37,17 +50,23 @@ $ codesign -dvvv $file.app
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ system_profiler -detaillevel full
|
system_profiler -detaillevel full
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
* 瑪麗
|
* 瑪麗
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
```shell
|
||||||
|
convert -size 360x360 xc:white -font "FreeMono" -pointsize 12 -fill black -draw @ascii.txt
|
||||||
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
* remove metadata from images with **[exiftool](https://exiftool.org/install.html)**
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ convert -size 360x360 xc:white -font "FreeMono" -pointsize 12 -fill black -draw @ascii.txt
|
exiftool -all= -overwrite_original input.jpg -o output.jpg
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue