Advertisement
constantin-net

imagemagick

Mar 4th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. imagemagic
  2. find . -name '*.jpg' -printf "mv %p %h/%TY-%Tm-%Td+%TH:%TM:%TS_%f\n" | sh
  3. find . -maxdepth 1 -iname "*.jpg" | xargs -L1 -I{} mogrify -resize 1067x800 "{}" "{}"
  4. find . -maxdepth 1 -iname "*.jpg" | xargs -L1 -I{} mogrify -resize 1067x800 "{}" _resized/"{}"
  5. ls -1 *.jpg | xargs mogrify -strip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement