mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-06-12 17:02:50 -04:00
72 lines
814 B
Markdown
72 lines
814 B
Markdown
## 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
|
|
```
|
|
|
|
<br>
|
|
|
|
* extended attributes of files
|
|
|
|
```shell
|
|
xattr -l $file
|
|
```
|
|
|
|
<br>
|
|
|
|
* check signatures of apps
|
|
|
|
<br>
|
|
|
|
```shell
|
|
codesign -dvvv $file.app
|
|
```
|
|
|
|
<br>
|
|
|
|
* show all the configs
|
|
|
|
<br>
|
|
|
|
```shell
|
|
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
|
|
exiftool -all= -overwrite_original input.jpg -o output.jpg
|
|
```
|