convert single page from pdf to jpg 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
2 days ago
yes I am usingzsh
thanks it worked this way as well!
– Dimitar
2 days ago
Please see answer below
– steeldriver
2 days ago
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 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 usingzsh
thanks it worked this way as well!
– Dimitar
2 days ago
Please see answer below
– steeldriver
2 days ago
add a comment |
it worked. can u post it as an answer?
– Dimitar
2 days ago
yes I am usingzsh
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
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
2 days ago
1
@Dimitar yes that's correct
– steeldriver
2 days ago
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-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
[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
2 days ago
1
@Dimitar yes that's correct
– steeldriver
2 days ago
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
2 days ago
1
@Dimitar yes that's correct
– steeldriver
2 days ago
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 2 days ago
steeldriver
65.7k11104177
65.7k11104177
and if i setsetopt +o nomatch
to unset it i need to executesetopt -o nomatch
?
– Dimitar
2 days ago
1
@Dimitar yes that's correct
– steeldriver
2 days ago
add a comment |
and if i setsetopt +o nomatch
to unset it i need to executesetopt -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
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-jpg-and-getting-error-no-matches-found-binder%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
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