Convert single page from PDF to JPEG and getting error: `no matches found: Binder3.pdf[12]`
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
add a comment |
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
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
yes I am usingzsh
thanks it worked this way as well!
– Dimitar
Dec 27 '18 at 14:20
1
Please see answer below
– steeldriver
Dec 27 '18 at 14:25
add a comment |
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
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
pdf convert zsh imagemagick
edited Dec 31 '18 at 19:53
Kurt Pfeifle
1,050711
1,050711
asked Dec 27 '18 at 13:38
DimitarDimitar
210111
210111
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
yes I am usingzsh
thanks it worked this way as well!
– Dimitar
Dec 27 '18 at 14:20
1
Please see answer below
– steeldriver
Dec 27 '18 at 14:25
add a comment |
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
yes I am usingzsh
thanks it worked this way as well!
– Dimitar
Dec 27 '18 at 14:20
1
Please see answer below
– steeldriver
Dec 27 '18 at 14:25
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
yes I am using
zsh
thanks it worked this way as well!– Dimitar
Dec 27 '18 at 14:20
yes I am using
zsh
thanks it worked this way as well!– Dimitar
Dec 27 '18 at 14:20
1
1
Please see answer below
– steeldriver
Dec 27 '18 at 14:25
Please see answer below
– steeldriver
Dec 27 '18 at 14:25
add a comment |
1 Answer
1
active
oldest
votes
[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
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
Dec 27 '18 at 14:29
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104907%2fconvert-single-page-from-pdf-to-jpeg-and-getting-error-no-matches-found-binde%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
[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
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
Dec 27 '18 at 14:29
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
add a comment |
[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
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
Dec 27 '18 at 14:29
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
add a comment |
[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
[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
answered Dec 27 '18 at 14:25
steeldriversteeldriver
66k11105178
66k11105178
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
Dec 27 '18 at 14:29
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
add a comment |
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
Dec 27 '18 at 14:29
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
and if i set
setopt +o nomatch
to unset it i need to execute setopt -o nomatch
?– Dimitar
Dec 27 '18 at 14:29
and if i set
setopt +o nomatch
to unset it i need to execute setopt -o nomatch
?– Dimitar
Dec 27 '18 at 14:29
1
1
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
@Dimitar yes that's correct
– steeldriver
Dec 27 '18 at 14:35
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104907%2fconvert-single-page-from-pdf-to-jpeg-and-getting-error-no-matches-found-binde%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
it worked. can u post it as an answer?
– Dimitar
Dec 27 '18 at 14:18
yes I am using
zsh
thanks it worked this way as well!– Dimitar
Dec 27 '18 at 14:20
1
Please see answer below
– steeldriver
Dec 27 '18 at 14:25