-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File process order? #586
Comments
This sounds like something you can achieve with your shell/ OS...? Or perhaps with a command line script? Could you describe your use case in more detail? |
Yeah, if you're using zsh for instance, you can use glob qualifiers to change the order (see for file in *.png(Om); do
oxipng $file
done Note I'm using a loop here as oxipng's rayon thread pool will not guarantee order if you just feed them all in directly. |
I am using oxipng on Windows and Termux. I have a folder where images are saved automatically(eg. downloads) but there no name scheme. All the pngs in it have been ran through oxipng and been optimized. Now I save new images then run: The file have correct modif and create time stamps so I was wondering if oxipng could use that. I asked chatgpt about glob qualifiers for windows and termux, it seems there a way to do it in the ?os?. If I missing some easier way to do it inside of oxipng please tell. |
There's no way to do this with oxipng itself I'm afraid. |
Is there a way to tell oxipng to process file in like "Time Created Descending" or "Last Modified First"?
I mistakenly pressed enter on my phone while trying to type so this was empty.
The text was updated successfully, but these errors were encountered: