I have about 290 files that I need to optimize in a short period of time.
When I do optipng *.png
it takes about 10 minutes to complete the transaction.
However when I do optipng a*.png
and optipng m*.png
in two separate command line it gets the work done in 5 minutes.
Now is there a way I can launch about 20 processes at the same time which will get the work done faster and not take up all of the space on my Desktop?
Looks like you can write a batch file and run your commands asynchronously from that file.
Running Windows batch file commands asynchronously
I have written a batch file that executes only a maximum number of commands a while ago: Parallel execution of shell processes: