Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with commands that use placeholders #62

Open
ldealmei opened this issue Mar 14, 2024 · 0 comments
Open

Does not work with commands that use placeholders #62

ldealmei opened this issue Mar 14, 2024 · 0 comments

Comments

@ldealmei
Copy link

First, many thanks for keeping this project alive. It's a key part of my professional workflow!

I am trying to add the following command (as I would write in a terminal):

pdfseparate myfile.pdf %d-myfile.pdf

which creates 0-myfile.pdf, 1-myfile.pdf, ... for each page of the original file.

As you can see pdfseparate requires %d to execute otherwise it fails and complains : must contain '%d' (or any variant respecting printf format) if more than one page should be extracted, in order to print the page number

I'm looking for a way to run this in actions-for-nautilus.
pdfseparate %F %d-myfile.pdf does not work because both %F and %d are changed.

I have not managed to write this command in actions-for-nautilus that makes it run successfully.

I need to be able to use %F as a placeholder but keep %d as is. How can I escape a specific part of the command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant