mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-10 10:44:59 -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>
|
||||
|
||||
### 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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue