X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=7e31b02776c5374f31a45a484dbd0ca9d5eadeeb;hb=4df41a210d000973ede7b95bfe2242a9f19548ce;hp=3faa8d3763fc3c2c70c283f344f29cd974f412a9;hpb=763ef228c78d8d8c1d3aa70f978f23fe297a9168;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 3faa8d3..7e31b02 100644 --- a/grml_tips +++ b/grml_tips @@ -584,6 +584,10 @@ Save live audio stream to file: or % mencoder mms://file.wmv -o $FILE -ovc copy -oac copy + +or + +% mimms mms://file.wmv -- Merge video files: @@ -2779,3 +2783,38 @@ Mount a cloop file: # modprobe cloop file=/path/to/cloop/file # mount -r -t iso9660 /dev/cloop /mnt/test -- +Create a PS/PDF of a plaintext file: + +% a2ps --medium A4dj -E -o output.ps input_file +% ps2pdf output.ps +-- +Print two pages on one in a PDF file: + +% pdfnup --nup 2x1 input.pdf + +Concatenate, extract pages/parts, encrypt/decrypt, +compress PDFs using 'pdftk'. +-- +Read a PS/PDF file on console: + +% pstotext file.pdf + +or on plain framebuffer console in graphical mode: + +% pdf2ps file.pdf ; ps2png file.ps file.png ; fbi file.png + +or + +% fbgs file.pdf +-- +Bypass the password of a PDF file: + +% gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf -c quit +-- +Record sound: + +% rec test.aiff + +This will record a AIFF audio file. +-- +