Skip to content

Commit 4e53aae

Browse files
committed
Updated
1 parent ffebc0a commit 4e53aae

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simple bash script for lossless image optimizing JPEG, PNG and GIF images in a s
66
- lossless image optimization with a small image size in the output;
77
- works recursively;
88
- checks optimization tools after the start;
9-
- option for automatic install dependences and optimization tools if one or more of it is not found (see supported distributions [here](https://github.com/zevilz/zImageOptimizer#automatical-installing-dependences));
9+
- option for automatic install dependencies and optimization tools if one or more of it is not found (see supported distributions [here](https://github.com/zevilz/zImageOptimizer#automatical-installing-dependencies));
1010
- readable output info and total info after optimization;
1111
- no limit for a file size (limited only by hardware);
1212
- no limit for a number of files;
@@ -54,7 +54,7 @@ Supported options:
5454
- `-p (--path)` - specify a full path to the input directory (usage: `-p <dir> | --path=<dir>`);
5555
- `-q (--quiet)` - executes the script without any questions and users actions;
5656
- `-l (--less)` - don't shows the optimizing process;
57-
- `-c (--check-only)` - checks tools with an opportunity to install dependences;
57+
- `-c (--check-only)` - checks tools with an opportunity to install dependencies;
5858
- `-t (--time)` - sets the period for which to look for files by last modified time (usage: `-t <period> | --time=<period>`);
5959
- `-n (--new-only)` - use the time marker file for looking new images only;
6060
- `-m (--time-marker)` - sets the custom full path or the custom filename of a time marker file (usage: `-m <name|path> | --time-marker=<name|path>`);
@@ -72,7 +72,7 @@ Notices:
7272
- it is impossible to use together `-t (--time)` and `-n (--new-only)` options;
7373
- you must use `-m (--time-marker)` option with `-n (--new-only)` option;
7474
- you must use `--unlock` option with `-p (--path)` option (just add `--unlock` option in next run);
75-
- you can install dependences without any questions in check mode (`-c (--check-only)`) using `-q (--quiet)` option.
75+
- you can install dependencies without any questions in check mode (`-c (--check-only)`) using `-q (--quiet)` option.
7676

7777
Recommendation: use [GNU Screen](https://en.wikipedia.org/wiki/GNU_Screen) or analogs if there are many images in an input directory, because the optimization may can take long time.
7878

@@ -191,10 +191,10 @@ Or you can come up with your own CMD for example:
191191
docker run -it -u "$UID:$GID" -d --volume /mnt/ImagesHundred/marker:/work/marker --volume /mnt/ImagesHundred/images/:/work/images/ -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro varunbatrait/zimageoptimizer ./zImageOptimizer.sh -p /work/images/ -q -n -m /work/marker/marker
192192
```
193193

194-
## Automatical installing dependences
194+
## Automatical installing dependencies
195195
Notice: curent user must be root or user with sudo access.
196196

197-
Start the script in the optimization mode (`-p|--path`) or the checking tools mode (`-c|--check-only`, recommended) if you want to install dependences automatically. It will check installed tools and printing a choise option dialog if one or more tools not found. Select **Install dependences and exit** option by typing a appropriate number and press enter. The script will install dependences based on your platform, distribution and package manager. You may need to enter a password and confirm actions during installation dependences. Restart script to recheck installed tools after that.
197+
Start the script in the optimization mode (`-p|--path`) or the checking tools mode (`-c|--check-only`, recommended) if you want to install dependencies automatically. It will check installed tools and printing a choise option dialog if one or more tools not found. Select **Install dependencies and exit** option by typing a appropriate number and press enter. The script will install dependencies based on your platform, distribution and package manager. You may need to enter a password and confirm actions during installation dependencies. Restart script to recheck installed tools after that.
198198

199199
Supported on:
200200
- DEB-based linux distributions (i686/amd64)
@@ -238,9 +238,9 @@ Tested on:
238238
- 10.13.6
239239
- 11.2.1
240240

241-
If you have errors during installing dependences on supported platforms please contact me or open issue.
241+
If you have errors during installing dependencies on supported platforms please contact me or open issue.
242242

243-
## Manual installing dependences
243+
## Manual installing dependencies
244244
Notice: curent user must be root or user with sudo access.
245245

246246
**Install following packages from repositories/ports**
@@ -380,7 +380,7 @@ bash zImageOptimizer.sh -p /path/to/files -ext all
380380

381381
## Troubleshooting
382382

383-
**I'm install dependences but one of tool is marked as NOT FOUND**
383+
**I'm install dependencies but one of tool is marked as NOT FOUND**
384384

385385
By default the script looks for binary files into folowing directories `/bin` `/usr/bin` `/usr/local/bin`. If your binary file is not in these directories add your directory in variable `BINARY_PATHS` through a space like below and restart the script
386386
```bash
@@ -401,8 +401,8 @@ The script is already running in specified directory. If not, previous run of th
401401
- [ ] add an option for set quality for more small files in the output
402402
- [x] ~~add an option for check tools only~~
403403
- [x] ~~add support for optimize gif images~~
404-
- [x] ~~add support for automatic install dependences on other platforms and distributions with other package managers~~
405-
- [ ] add support for automatic install dependences on others linux distributions
404+
- [x] ~~add support for automatic install dependencies on other platforms and distributions with other package managers~~
405+
- [ ] add support for automatic install dependencies on others linux distributions
406406
- [ ] add support for parallel optimization
407407
- [ ] even more to improve results of compression
408408
- [ ] add SVG support
@@ -429,7 +429,7 @@ Do you like the script? Would you like to support its development? Feel free to
429429
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/zevilz)
430430

431431
## Changelog
432-
- 09.03.2021 - 0.10.5 - added support for automatic install dependences on MacOS 11+
432+
- 09.03.2021 - 0.10.5 - added support for automatic install dependencies on MacOS 11+
433433
- 27.09.2020 - 0.10.4 - fixed permissions and modify time for optimized images
434434
- 03.09.2020 - 0.10.3 - preserve permissions and modify time during backup/restore
435435
- 03.09.2020 - 0.10.2 - added BACKUP var in main loop for extensions, refactoring
@@ -445,16 +445,16 @@ Do you like the script? Would you like to support its development? Feel free to
445445
- 11.03.2018 - 0.9.3 - added a restoration of original files if their size is less or equal than optimized files size
446446
- 27.02.2018 - 0.9.2 - fixed PNG file permissions if the script does not work from files owner
447447
- 27.02.2018 - 0.9.1 - [added new features](https://github.com/zevilz/zImageOptimizer/releases/tag/0.9.1) and bugfixes
448-
- 25.02.2018 - 0.9.0 - added support for working the script on MacOS 10.10+ with automatic install dependences
448+
- 25.02.2018 - 0.9.0 - added support for working the script on MacOS 10.10+ with automatic install dependencies
449449
- 24.02.2018 - 0.8.1 - [added new parameter, updated info after optimizing, small fixes and small code refactoring](https://github.com/zevilz/zImageOptimizer/releases/tag/0.8.1)
450450
- 04.12.2017 - 0.8.0 - [new features, bugfixes and code refactoring](https://github.com/zevilz/zImageOptimizer/releases/tag/0.8.0)
451-
- 30.11.2017 - 0.7.0 - added support for working the script on FreeBSD with automatic install dependences, [bug fixes and more](https://github.com/zevilz/zImageOptimizer/releases/tag/0.7.0)
452-
- 28.11.2017 - 0.6.0 - added support for automatic install dependences on RHEL 6+ and Fedora 24+
451+
- 30.11.2017 - 0.7.0 - added support for working the script on FreeBSD with automatic install dependencies, [bug fixes and more](https://github.com/zevilz/zImageOptimizer/releases/tag/0.7.0)
452+
- 28.11.2017 - 0.6.0 - added support for automatic install dependencies on RHEL 6+ and Fedora 24+
453453
- 25.11.2017 - 0.5.0 - bug fixes and code refactoring
454-
- 25.11.2017 - 0.4.0 - added support for automatic install dependences on Debian 7.* and some bugfixes
455-
- 23.11.2017 - 0.3.0 - added support for automatic install dependences on CentOS 6.*
454+
- 25.11.2017 - 0.4.0 - added support for automatic install dependencies on Debian 7.* and some bugfixes
455+
- 23.11.2017 - 0.3.0 - added support for automatic install dependencies on CentOS 6.*
456456
- 22.11.2017 - 0.2.3 - some bug fixes
457-
- 21.11.2017 - 0.2.2 - added support for automatic install dependences on CentOS 7.*
457+
- 21.11.2017 - 0.2.2 - added support for automatic install dependencies on CentOS 7.*
458458
- 20.11.2017 - 0.2.1 - some bug fixes
459459
- 20.11.2017 - 0.2.0 - added [some features](https://github.com/zevilz/zImageOptimizer/releases/tag/0.2.0) and code refactoring
460460
- 19.11.2017 - 0.1.1 - some bug fixes

0 commit comments

Comments
 (0)