Intelligence is simply talking to many people

Making purposed folders to automatically render various changes to files (Also, How to batch convert images)

Starting point (doing it manually):.

After installing ImageMagick software sudo apt-get install imagemagick -y on a Debian-based distro, you can just use Terminal and your file manager.

Put  some image files in a folder. Open Terminal in that folder. Use 'magick convert' (which belongs to the ImageMagick software you installed) to resize, rename, and reformat the image files.


I placed 5 pngs into ~/Desktop/ImageFrom, altogether they weight 2mb. (I also have a folder desktop/ImageTo.) I open Terminal in ~/Desktop/ImageFrom and do mogrify:

mogrify -path ~/Desktop/ImageTo -format jpg -resize 1000x1000 *

This puts versions of all my pngs into my other folder, but they are now jpegs with the longest edge being 500px. They now weigh 225kb altogether.

Here ends the 'Starting point' part.

Comments: 0

Interested to discuss? Leave a comment.


Your email will not be published nor shared with anyone. In your text you can use markdown for marking up *italic*, links <> and other elements. These comments are moderated and published manually as soon as possible.