Merging multiple PDF files in Linux

I always had trouble maintaining multiple PDF’s of same genre. A simple command – pdftk will do the trick of merging them together into a single PDF file. pdftk is present in Ubuntu repository itself.

Using the command is also very simple.

pdftk input1.pdf input2.pdf … cat output output.pdf

so if a.pdf, b.pdf so on are the pdf files u want to merge and the output file is combined.pdf then the command will be

pdftk a.pdf b.pdf cat output combined.pdf

Now if you a folder full of pdf files that you have to merge into a single pdf file , you can give something like

pdftk *.pdf cat output combined.pdf

The only problem being that *.pdf might not take the input in the order you want. So you have to name the files such that doing an ls in the directory gives the files in the order in which you wanted them to be merged in the final output pdf file. say file00.pdf file01.pdf and so on.

The command liner !

Probably one of the features that amazes me in Linux are the power and cuteness of the command line applications ! Right now but for watching videos, working with images , I have found ways to do stuff entirely on the terminal. Whats better ?? Its fast – really fast and completly productive. Let me brief few of my recent infatuations in command line apps.

* Every wonder how fast your browser can be in Elinks ??? No pop ups, no images, but absoultely cool plain test views,option to see images using eog , tabbed browsing, history, bookmarks, history : everything one might need in a modern day browser. It doesnt crash , doesn’t require extra plugins for working. Actually above anything else its the speed of browsing is what that beats me ! Too good. Check my gmail window in elinks 🙂

* Okay , One thing Elinks might not have is the chat feature. But there is a better client than that. Finch : Welcome to the command line Pidgin. If you already new Pidgin, then Finch is the exact ditto for the shell and If you didn’t know about Pidgin, u are missing something 😛 With Finch u can GTalk , AIM chat , yahoo , IRC , jabber talk and lots more. Once again the simplicity and speed beats any other application.

* And for everything there is Emacs plus shell combination. So the only thing I need the GUI is for watching videos and similar stuff where GUI is not a luxury but plain necessity.

* Of course I am still on the learning curve for Emacs and so sometimes when going gets tough I use Gedit. Now something great about gedit is that one can extend it in large ways to suit one’s need. With a good GTKSourceview color scheme and font selection , coding can be a wonderful experience. (Gedit doesn’t fit in command line tools, but sometimes its as much helpful 🙂 )

I accept GUI has a friendly effect, simplicity of use. But what me miss is that after a few tries the command liners are simpler to use , more productive and damn cool , (particularly when you are showing off :P)

Pengufest '08

Too much happened during Pengufest ’08. Lots of fun and lots of kelaas aka damages !  I cannot thank enough all the people who were a part of pengufest and the list is whole of GLUG-T! I really loved working with you guys and it was a wonderful learning experience for me conducting an event of this scale ! Wish I did more justice 😦

If I go into details , this would become a really very big post and so lets just skip all the stuff and all I will say is Pengufest 08 went well!

What else Does Linux Have other than a cool name ???

“Other than the fact Linux has a cool name, could someone explain why I should use Linux over BSD?”

“No. That’s it. The cool name, that is. We worked very hard on creating a name that would appeal to the majority of people, and it certainly paid off: thousands of people are using linux just to be able to say “OS/2? Hah. I’ve got Linux. What a cool name”. 386BSD made the mistake of putting a lot of numbers and weird abbreviations into the name, and is scaring away a lot of people just because it sounds too technical.”
(Linus Torvalds’ follow-up to a question about Linux)