convert single page from pdf to jpg and getting error: `no matches found: Binder3.pdf[12]`












0














I want to convert single page from 333 pdf pages file i have tried with this command convert Binder3.pdf[12] image.jpg, but for some reason I am getting this error




zsh: no matches found: Binder3.pdf[12]




The name of the file is correct i double check it, why is it not working? I am using ImageMagick 6.9.10-8 Q16 x86_64 20180723










share|improve this question
























  • it worked. can u post it as an answer?
    – Dimitar
    2 days ago










  • yes I am using zsh thanks it worked this way as well!
    – Dimitar
    2 days ago










  • Please see answer below
    – steeldriver
    2 days ago
















0














I want to convert single page from 333 pdf pages file i have tried with this command convert Binder3.pdf[12] image.jpg, but for some reason I am getting this error




zsh: no matches found: Binder3.pdf[12]




The name of the file is correct i double check it, why is it not working? I am using ImageMagick 6.9.10-8 Q16 x86_64 20180723










share|improve this question
























  • it worked. can u post it as an answer?
    – Dimitar
    2 days ago










  • yes I am using zsh thanks it worked this way as well!
    – Dimitar
    2 days ago










  • Please see answer below
    – steeldriver
    2 days ago














0












0








0







I want to convert single page from 333 pdf pages file i have tried with this command convert Binder3.pdf[12] image.jpg, but for some reason I am getting this error




zsh: no matches found: Binder3.pdf[12]




The name of the file is correct i double check it, why is it not working? I am using ImageMagick 6.9.10-8 Q16 x86_64 20180723










share|improve this question















I want to convert single page from 333 pdf pages file i have tried with this command convert Binder3.pdf[12] image.jpg, but for some reason I am getting this error




zsh: no matches found: Binder3.pdf[12]




The name of the file is correct i double check it, why is it not working? I am using ImageMagick 6.9.10-8 Q16 x86_64 20180723







pdf convert zsh imagemagick






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked 2 days ago









Dimitar

205111




205111












  • it worked. can u post it as an answer?
    – Dimitar
    2 days ago










  • yes I am using zsh thanks it worked this way as well!
    – Dimitar
    2 days ago










  • Please see answer below
    – steeldriver
    2 days ago


















  • it worked. can u post it as an answer?
    – Dimitar
    2 days ago










  • yes I am using zsh thanks it worked this way as well!
    – Dimitar
    2 days ago










  • Please see answer below
    – steeldriver
    2 days ago
















it worked. can u post it as an answer?
– Dimitar
2 days ago




it worked. can u post it as an answer?
– Dimitar
2 days ago












yes I am using zsh thanks it worked this way as well!
– Dimitar
2 days ago




yes I am using zsh thanks it worked this way as well!
– Dimitar
2 days ago












Please see answer below
– steeldriver
2 days ago




Please see answer below
– steeldriver
2 days ago










1 Answer
1






active

oldest

votes


















3














[12] is a shell glob expression - in the default bash shell, if it doesn't match anything in the current directory, then the string Binder3.pdf[12] will be passed unmolested to the convert program, however in zsh the default is to error out on nomatch (equivalent to the bash failglob shell option).



You can get bash-like behavior in zsh by setting setopt +o nomatch however this may result in unexpected behavior if there is a glob match - it's better to force the shell (whichever one) to treat the characters literally e.g.



convert Binder3.pdf[12] image.jpg


or



convert "Binder3.pdf[12]" image.jpg





share|improve this answer





















  • and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
    – Dimitar
    2 days ago






  • 1




    @Dimitar yes that's correct
    – steeldriver
    2 days ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104907%2fconvert-single-page-from-pdf-to-jpg-and-getting-error-no-matches-found-binder%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














[12] is a shell glob expression - in the default bash shell, if it doesn't match anything in the current directory, then the string Binder3.pdf[12] will be passed unmolested to the convert program, however in zsh the default is to error out on nomatch (equivalent to the bash failglob shell option).



You can get bash-like behavior in zsh by setting setopt +o nomatch however this may result in unexpected behavior if there is a glob match - it's better to force the shell (whichever one) to treat the characters literally e.g.



convert Binder3.pdf[12] image.jpg


or



convert "Binder3.pdf[12]" image.jpg





share|improve this answer





















  • and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
    – Dimitar
    2 days ago






  • 1




    @Dimitar yes that's correct
    – steeldriver
    2 days ago
















3














[12] is a shell glob expression - in the default bash shell, if it doesn't match anything in the current directory, then the string Binder3.pdf[12] will be passed unmolested to the convert program, however in zsh the default is to error out on nomatch (equivalent to the bash failglob shell option).



You can get bash-like behavior in zsh by setting setopt +o nomatch however this may result in unexpected behavior if there is a glob match - it's better to force the shell (whichever one) to treat the characters literally e.g.



convert Binder3.pdf[12] image.jpg


or



convert "Binder3.pdf[12]" image.jpg





share|improve this answer





















  • and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
    – Dimitar
    2 days ago






  • 1




    @Dimitar yes that's correct
    – steeldriver
    2 days ago














3












3








3






[12] is a shell glob expression - in the default bash shell, if it doesn't match anything in the current directory, then the string Binder3.pdf[12] will be passed unmolested to the convert program, however in zsh the default is to error out on nomatch (equivalent to the bash failglob shell option).



You can get bash-like behavior in zsh by setting setopt +o nomatch however this may result in unexpected behavior if there is a glob match - it's better to force the shell (whichever one) to treat the characters literally e.g.



convert Binder3.pdf[12] image.jpg


or



convert "Binder3.pdf[12]" image.jpg





share|improve this answer












[12] is a shell glob expression - in the default bash shell, if it doesn't match anything in the current directory, then the string Binder3.pdf[12] will be passed unmolested to the convert program, however in zsh the default is to error out on nomatch (equivalent to the bash failglob shell option).



You can get bash-like behavior in zsh by setting setopt +o nomatch however this may result in unexpected behavior if there is a glob match - it's better to force the shell (whichever one) to treat the characters literally e.g.



convert Binder3.pdf[12] image.jpg


or



convert "Binder3.pdf[12]" image.jpg






share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









steeldriver

65.7k11104177




65.7k11104177












  • and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
    – Dimitar
    2 days ago






  • 1




    @Dimitar yes that's correct
    – steeldriver
    2 days ago


















  • and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
    – Dimitar
    2 days ago






  • 1




    @Dimitar yes that's correct
    – steeldriver
    2 days ago
















and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
– Dimitar
2 days ago




and if i set setopt +o nomatch to unset it i need to execute setopt -o nomatch?
– Dimitar
2 days ago




1




1




@Dimitar yes that's correct
– steeldriver
2 days ago




@Dimitar yes that's correct
– steeldriver
2 days ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104907%2fconvert-single-page-from-pdf-to-jpg-and-getting-error-no-matches-found-binder%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅