Skip to content

Request: Streamlining for CLI and GUI execution #25

@glocalglocal

Description

@glocalglocal

I am a newbie, and I am looking to streamline using the script with and without opening the terminal. Firstly, I am trying to execute:

$ ./shrinkpdf.sh -g "file name with spaces.pdf"

and get the output in a PDF file with a similar name (eg "file name with spaces_compressed.pdf", "file name with spaces_1.pdf" or something similar). As far as I can see, I have to specify an output filename every time.

This may already be possible, but if it isn't, is there a way to update the script to facilitate it?

Then, it would be good if we could right-click on a file (in my case in Dolphin in Debian 13 with KDE Plasma) and select 'Open with' the script. There must be a way to do this and it would improve efficiency dramatically.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions