Link.
Pdf Tolkit (pdftk) is a tool to split and merge the pdf’s.
First you need to install the pdftk with following command.
$ sudo apt-get install pdftk
An example to merge pdf’s
$ pdftk input1.pdf input2.pdf cat output merge-output.pdf
Above example is to merge input1.pdf and input2.pdf and create new output file with name merge-output.pdf
An example to split pdf(split from page 10 to 20)
$ pdftk A=input1.pdf cat A10-20...
Friday, August 29, 2014
Split and merge pdf’s with pdftk in linux
Read more ...
Monday, August 18, 2014
Converting mp4 to mp3 in Linux
Link.
To convert Upd_Sanity.mp4 to Upd_Sanity.mp3
$ sudo apt-get install ffmpeg && sudo apt-get install libavcodec-extra-53
$ ffmpeg -i Upd_Sanity.mp4 -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 Upd_Sanity.mp3
OR (as ffmpeg is deprecated)
$ avconv -i Upd_Sanity.mp4 -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 Upd_Sanity.mp3
Description
-i input file name
-vn ...
Subscribe to:
Posts (Atom)