Search found 4 matches

by NoWayHome
2018-05-09T09:43:28-07:00
Forum: Users
Topic: Convert or mogrify batch files in multiple directory
Replies: 5
Views: 8542

Re: Convert or mogrify batch files in multiple directory


find ... xargs mogrify ... *.jpg
"find" makes a list of filenames. "xargs" calls "mogrify" which uses the input "*.jpg", to which xargs appends each of the filenames produced by "find".

So, why do you have "*.jpg" as an argument to mogrify? What do you expect that to do?

I suggest you read ...
by NoWayHome
2018-05-09T01:07:08-07:00
Forum: Users
Topic: Convert or mogrify batch files in multiple directory
Replies: 5
Views: 8542

Re: Convert or mogrify batch files in multiple directory

Hi.

I allready check lot of post here + other website.
and dont found the correct answer.

Platform : Ubuntu
Imagemagick : ImageMagick 7.0.7-31

i made a mistake in my first post .
I want to write a new file.

i have more than 1500 images in 300 directories.
my goal is to resize, optimise AND write ...
by NoWayHome
2018-05-08T11:45:59-07:00
Forum: Users
Topic: Convert or mogrify batch files in multiple directory
Replies: 5
Views: 8542

Convert or mogrify batch files in multiple directory

Hi.

I m working on linux, but i m not a command line guru so i need your help.

I have several images in several directory
directory\sub1
directory\sub2
directory\sub3
...

I succes to found a command to optimise them :

find directory -iname "*.jpg" | xargs mogrify *.jpg -sampling-factor 4:2:0 ...