News for hackers. Stuff that matters.
Re:Ask HN: Small scripts, hacks and automations you're proud... by lloydatkinson on Monday March 13, 2023 @07:53AM (#35134411)
Do you have a before and after of a sample pdf? Sounds great.

How do you use it? I don't see any PDF file paths?

Re:Ask HN: Small scripts, hacks and automations you're proud... by mo_42 on Monday March 13, 2023 @01:00PM (#35138625)
The first argument is the input file and the second one the output:

  ./script.sh original.pdf scanned.pdf