>want to merge a pdf
>the pdf has private data so I cannot use any online tools
>the web is full of pajeetware that looks malicious
>acrobat needs you to pay them so you can do the most fricking basic task
>other tools are the same
>finally download a cracked version of one of them
DMT Has Friends For Me Shirt $21.68 |
>he didn't baked a custom solution using open source software
It's over.
>he cant learned the englando langej
It's over.
lmfao @ wintoddler
on Linux it's as easy as
cat file1.pdf >> file2.pdf
>Linux
why would i use chink backdoors
Wait wait, would this really work?
I tried it, no it doesn't work. it just shows the first pdf as if you never added the 2nd file onto it.
Yeah, that was my guess. PDFs aren't text files, they must have some weird structure
Yeah, it would
No it doesn't it just corrupts the PDF file
LO Draw is a POS, and you can do that natively within Draw
It's actually pdfunite file1.pdf file2.pdf merged.pdf
is this how neets think binary formats work? you can just install an extension on vscode that shows you the structure of a given pdf file to know that your comment is moronic.
Posting shit like this should get you permabanned
xD
Black person
>no fun allowed
This is incorrect.
The correct linux command is
>Sudo rm -rf / filename
Broken down, it means Super User Do which authorized file modification and creation, RM means Read Merge which is the correct linux PDF merge command, -rf which means remaining file, / is break element because your computer can't see spaces (they're spaces so they don't exist, your brains sees them but the computer doesn't understand them), and finally the filenames you want to merge.
No need for proprietary nonsense.
Command 'Sudo' not found, did you mean:
command 'sudo' from deb sudo (1.9.9-1ubuntu2.4)
command 'sudo' from deb sudo-ldap (1.9.9-1ubuntu2.4)
command 'udo' from deb udo (6.4.1-6)
Try: sudo apt install <deb name>
sorry phoneposter zoomie cancer your le epic /r/eddit troll failled
For some reason I had to add --no-preserve-root for this to work on my system.
from PyPDF2 import PdfFileMerger, PdfFileReader
merger = PdfFileMerger()
merger.append(PdfFileReader('file1.pdf', 'rb'))
merger.append(PdfFileReader('file2.pdf', 'rb'))
merger.write('merged.pdf')
merger.close()
do zoomers really?
Can you make an exe to your github
homie it's python, you're on a tech board
git gud
just make a fricking exe i swear to god
it's not that hard, and i refuse to use it unless you do
no he can't because he's not gud and uses python, should've used go and unipdf to easily make an exe
do wintoddlers really
this one werks locally
or it did when I needed it
https://github.com/Stirling-Tools/Stirling-PDF
>locally hosted web app
Black person do you think this is plan 9 or some shit? Just make a program.
>Just make a program.
You do it then
pdfs are a moronic file format
NAPS2 works quite well, I use it to scan old documents, do OCR and combine them into a single PDF. It's available on winget for easy installation, but you can get binaries here https://www.naps2.com/
pdfcpu
>Open them both in LibreOffice Draw
>Save as ODF
>Combine documents in LibreOffice Write
>Export as PDF
Anon are you over 60 or under 20? You seem to have some serious gap in your critical thinking skills. You clearly have a lack of experience with using any kind of technology, and your problem solving ability is so stunted that you couldn't just google a basic solution.
You should have your brain tested for some kind of parasitic worm, because it's not working right. In the olden days we would have found you a good job as a farmhand until you fell over convulsing and foaming from the mouth, but now we have the misfortune of having to talk to you like you're a real person.
Do you like cows anon? I can get you a job milking cows.
For me, it's PDFtk.
Deprecated by pdfcpu
*defecated
>>want to merge a pdf
>>the pdf has private data so I cannot use any online tools
Pedo
>want to merge a pdf
Just google for a pdf library or look at your package manager.
I found libpoppler, I checked my package manager and it's there and it even comes with premade commands for specifically for merging pdfs.
https://gitlab.freedesktop.org/poppler/poppler/-/blob/master/utils/pdfunite.cc?ref_type=heads
You could probably write you own version in c in an afternoon with ChatGPT even with no c experience.
PDFsam Basic, it's literally made for merging PDFs
Beware, if for any reason anything goes wrong during the merge this piece of shit will simply delete every file you tried to merge
You can't be serious
man, why did steam have to become a gay social media platform
Just drag and drop your pdf after the last page thumbnail in preview.
Mac users stay winning.
Use GhostScript on Linux or in WSL if you are on Windows
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=out.pdf in1.pdf in2.pdf
https://stackoverflow.com/questions/8158584/ghostscript-to-merge-pdfs-compresses-the-result
on linux you likely already have poppler installed, since it's the de facto pdf library. it includes a pdfmerge program that can do this