We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1517267 commit 3e91701Copy full SHA for 3e91701
1 file changed
README.md
@@ -29,3 +29,13 @@ Currently only 64-bit (x64) is targeted.
29
2. Download and install [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) (any edition)
30
3. Download [nasm](https://www.nasm.us/) and place `nasm.exe` somewhere into your `PATH`
31
4. Open `jpegoptim.sln` and build, or run `build.bat`
32
+
33
+## Sample script
34
35
+There's a sample script that loop all the subfolders in a folder optimizing pictures.
36
37
+```bat
38
+for /f "tokens=*" %%i in ('dir /a:d /b') do (
39
+ jpegoptim.exe --preserve --verbose --totals "%%i\*.jpg"
40
+)
41
+```
0 commit comments