imagemagick: brackets in file names 'No such file or directory' — Mac OS X

前端 未结 2 1735
一向
一向 2021-01-14 19:51

I\'ve upgraded my Homebrew ImageMagick to 6.9.4-7 version (Mac OS 10.11.5), after which it doesn\'t understand brackets in file names anymore.

This comm

相关标签:
2条回答
  • 2021-01-14 20:08

    Remove the quote from 'some_pic.jpg' and then try to execute the command. It should run fine.

    0 讨论(0)
  • 2021-01-14 20:23

    Manually installing imagemagick-6.9.3-10 via brew has fixed the problem. So I believe it's a bug in imagemagick.

    PS: To install specific version via brew, run

    brew edit imagemagick
    

    And edit these lines:

    url "https://dl.bintray.com/homebrew/mirror/imagemagick-6.9.4-7.tar.xz"
    mirror "https://www.imagemagick.org/download/ImageMagick-6.9.4-7.tar.xz"
    sha256 "f54fc8dcdb328404d1f89ddebe75d603e22894d3786ca2f2a9677478135b4c86"
    

    May not work if the version you choose (https://dl.bintray.com/homebrew/mirror/) is not compatible with the rest of the brew formula. Then you need to go deeper.

    0 讨论(0)
提交回复
热议问题