![]() ![]() The migration tool can be found in the subdirectory tools/migration of the sources, the program gmake is required to build the program (it's only replacing a few variables in it, so no worry about a complex setup). The directory path can be retrieved using make show=WRKSRC. If you have the ports tree available, just run make extract in net/prosody and cd into the newly extracted directory. On OpenBSD, the migration tool can be retrieved by downloading the sources of prosody. know the future storage you want to use.know your current storage, which is "internal" by default.Setup §įor the migration to be done, you will need a few prerequisites: Prosody documentation: Prosody migrator 2. The switch to SQLite drastically reduced prosody CPU usage on my small server, and went pain free. Recently, I got more users on my server, and I wanted to improve performance a bit by switching from the internal storage to SQLite.Īctually, prosody comes with a tool to switch from a storage to another, but I found the documentation lacking and on OpenBSD the migration tool isn't packaged (yet?). My server is running Prosody XMPP server on OpenBSD. Tags:Īs some may know, I'm an XMPP user, an instant messaging protocol which used to be known as Jabber. Migrating prosody internal storage to SQLite on OpenBSD ![]() PDF are usually a pain to work with, but pdftk make it very fast and easy to apply transformation on them. Pdftk have some other commands, most people will need to extract / merge / rotate pages, but take a look at the documentation to learn about all pdftk features. Pdftk input.pdf cat end-1 output reversed.pdf If you want to reverse how pages are in your PDF, we can use the special range end-1 which will go through pages from the last to the first one, with the sub command cat this will only recreate a new PDF: If you want to select even or odd pages, you can add the keyword even or odd between the range and the rotation direction: 1-10oddwest or 2-8eveneast are valid rotations. Pdftk input.pdf rotate 1-endeast output rotated.pdf If you want to rotate all the pages of a PDF clockwise (east), we need to specify a range 1-end, which means first to last page: You can specify pages or ranges of pages to rotate, the whole document, or only odd/even pages etc. Pdftk comes with a very powerful way to rotate PDFs pages. Note that they are concatenated in their order in the command line. Pdftk first.pdf second.pdf cat output merged.pdf In the following example, you will concatenate the PDF first.pdf and second.pdf into a merged.pdf result: Merging multiple PDFs into a single PDF also uses the sub command cat. Pdftk my_pdf.pdf cat 11 16-18 output export.pdf Pdftk command line isn't the most obvious out there, but it's not that hard.Įxtracting a page requires the cat sub command, and we need to give a page number or a range of pages.įor instance, extracting the pages 11, and from 16 to 18 from the file my_pdf.pdf to a new file export.pdf can be done with the following command: As a Silver Certified Application Developer, Solvusoft is able to provide the highest level of customer satisfaction through delivering top-level software and service solutions, which have been subject to a rigorous and continually-audited approval process by Microsoft.I often need to work with PDF, sometimes I need to extract a single page, or add a page, too often I need to rotate pages.įortunately, there is a pretty awesome tool to do all of these tasks, it's called PDFtk. To achieve a Silver competency level, Solvusoft goes through extensive independent analysis that looks for, amongst other qualities, a high level of software expertise, a successful customer service track record, and top-tier customer value. How is the Silver Competency Level Attained? Solvusoft's close relationship with Microsoft as a Silver Certified Partner enables us to provide best-in-class software solutions that are optimized for performance on Windows operating systems. Solvusoft is recognized by Microsoft as a leading Independent Software Vendor, achieving the highest level of competence and excellence in software development. Solvusoft: Microsoft Silver Certified Company Recognized for best-in-class capabilities as an ISV (Independent Software Vendor) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |