this post was submitted on 20 Jun 2025
37 points (95.1% liked)

Open Source

38437 readers
71 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

So one of my pdfs has a page number and a link at the bottom of every page. It's around 500 pages so I dont want to edit it manually. Is there any way I can delete those things all at once from all pages of the pdf?

Maybe ghost script or python script can do this?

I also notice there isn't a PDF community in Lemmy, maybe somebody should create one.

Thanks a lot in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] B0rax@feddit.org -5 points 1 week ago (7 children)

Ask chatgpt for a python script to do exactly that task. Maybe you get what you want, maybe not.

Helped me out quite a few times with niche tasks like this.

[–] Solumbran@lemmy.world 4 points 1 week ago (5 children)

Look at how to do it with python, you'll learn interesting stuff, get a working result, and not destroy your brain using a chat simulator as a programming help.

I don't get why people are fine with comments that are as absurd as saying "to hang a painting, first stab a screwdriver in the wall then attach the painting to it, sometimes it's not too bad"

[–] B0rax@feddit.org -2 points 1 week ago (4 children)

How is asking chatgpt to do it any different as to using a different pre made tool? Both do not require programming.

[–] Solumbran@lemmy.world 3 points 1 week ago

How is using a spoon different as to using a military tank? They're both tools after all.

load more comments (3 replies)
load more comments (3 replies)
load more comments (4 replies)