1
0
mirror of https://github.com/svg/svgo.git synced 2025-04-19 10:22:15 +03:00

Updated recursive usage example (#2070)

Fixes #2069
This commit is contained in:
Simon Arnell 2024-09-04 22:27:49 +03:00 committed by GitHub
parent 9078e8ca08
commit 50fc3c9de5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,10 +33,10 @@ Process single files:
svgo one.svg two.svg -o one.min.svg two.min.svg
```
Process a directory of files recursively with `-f`/`--folder`:
Process a directory of files recursively with `-r`/`--recursive` and `-f`/`--folder`:
```sh
svgo -f path/to/directory_with_svgs -o path/to/output_directory
svgo -rf path/to/directory_with_svgs -o path/to/output_directory
```
Help for advanced usage: