I'm building a script that automates all my daily needs with one command line execution.
ImageMagick is used to compress / convert images. But after doing that task I want those images to be moved to another directory. Unfortunately I'm working on a windows machine ... my command move C:\Automatik\src\IMG\*.jpg C:\Automatik\dist\IMG\
didn't work via Node.js Command Prompt. It only works in CMD!
I need either a npm package or another command for doing this.
Maybe someone knows how to move files with ImageMagick
? The -path
-argument didn't work for me...
mogrify -format jpg -quality 85 src/IMG/*.*
Thanks in advance, Daniel