How to trim many files using adobe photoshop I have 300 png files. I want to trim each of them. But for this I need open each file and make changes (even if I make script for trimming and save it will be long to open each file and do trimming). Is there already made solution or some advice how to do it better and quickly.

Thanks in advance.
Another option using ImageMagick:

mogrify -trim *.png


You can install it with brew install imagemagick after installing Homebrew.