U
U
Unicom2018-02-04 15:50:58
bash
Unicom, 2018-02-04 15:50:58

How to select images for batch processing in the Mac OS console?

Challenge: Compress a ton of directory-structured images
Solution for Linux:

find /input/ -iname '*.*' -print0 | xargs -0 mogrify -resize '1024x1024>' -quality 70 -density 72

Unfortunately, it doesn't work on a Mac. Delivered from ImageMagic ports, but the console swears: "xargs: mogrify: No such file or directory". How can this line be rewritten for a poppy?
PS I wanted to do the processing in Linux (because I had already done the same thing on debian before), but some of the disks ended up in HFS + (but as it turned out, Linux works very poorly with it - I almost ruined the contents, restored it with great difficulty), so I decided take poppy this problem, but ran into this problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2018-02-04
@saboteur_kiev

Give what exactly c find is wrong - the standard command should be on the poppy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question