(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
6d11feb47c
commit
2799ee8c52
@ -11,3 +11,10 @@ title: 'Useful Commands'
|
|||||||
-density: adjusts the quality of the resulting pdf. Higher values look better, but take longer to process
|
-density: adjusts the quality of the resulting pdf. Higher values look better, but take longer to process
|
||||||
-crop 50x100%: this splits the pdf into "left" and "right". 100x50% would split into "top" and "bottom"
|
-crop 50x100%: this splits the pdf into "left" and "right". 100x50% would split into "top" and "bottom"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Find
|
||||||
|
### Change filtered permissions
|
||||||
|
Using find with its `exec` switch one can set different permissions based on the usual find filters.
|
||||||
|
One example would be only changing file or directory permissions.
|
||||||
|
`$ find (directory) -type f -exec chmod 744 {} +`
|
||||||
|
Replacing `-type f` with `-type d` would execute the `chmod` for directories instead.
|
||||||
|
Loading…
Reference in New Issue
Block a user