{"id":8393,"date":"2020-01-01T06:05:14","date_gmt":"2020-01-01T06:05:14","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?p=8393"},"modified":"2023-10-28T20:05:49","modified_gmt":"2023-10-28T19:05:49","slug":"manipulating-pdfs-using-pdftk-and-pdf-shuffler","status":"publish","type":"post","link":"https:\/\/stevepedwards.today\/DebianAdmin\/manipulating-pdfs-using-pdftk-and-pdf-shuffler\/","title":{"rendered":"Manipulating PDFs using PDFTK and PDF-Shuffler"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_8393\" class=\"pvc_stats all  \" data-element-id=\"8393\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>A recent real example I needed was stripping a house sale fixtures and fittings form section from a solicitors bulk PDF. The required pages were from doc CCL ... etc. and pages required from p45-52, so, installing then scrolling to bottom of the man page for an example:<\/p>\n<p><span style=\"color: #0000ff;\">sudo apt-get install pdftk:<\/span><\/p>\n<p>CD into the doc's folder then:<\/p>\n<p><span style=\"color: #0000ff;\">pdftk CCL SALE PACK.pdf cat 45-52 output fixfittings.pdf\u00a0<\/span><\/p>\n<p>Now I have just the 8 pages I require in a new PDF:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-8995\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2020\/01\/pdfex-2.png\" alt=\"\" width=\"672\" height=\"863\" \/><\/p>\n<p>You can explore PDF related Apps from the menu bar, Admin, then Software Mgr and search \"PDF\":<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8422 size-medium\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2020\/01\/shuffinst.png\" alt=\"\" width=\"782\" height=\"656\" \/><\/p>\n<p>PDF-Shuffler is more basic; you can select the pages then export\/delete\/rotate etc. with a RClick:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-8420 size-large\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2020\/01\/shuff.png\" alt=\"\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-8992\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2020\/01\/shuff-2-1024x640.png\" alt=\"\" width=\"840\" height=\"525\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_8393\" class=\"pvc_stats all  \" data-element-id=\"8393\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>A recent real example I needed was stripping a house sale fixtures and fittings form section from a solicitors bulk PDF. The required pages were from doc CCL ... etc. and pages required from p45-52, so, installing then scrolling to bottom of the man page for an example: sudo apt-get install pdftk: CD into the <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/manipulating-pdfs-using-pdftk-and-pdf-shuffler\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 Manipulating PDFs using PDFTK and PDF-Shuffler<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8393","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"a3_pvc":{"activated":true,"total_views":2,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=8393"}],"version-history":[{"count":11,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8393\/revisions"}],"predecessor-version":[{"id":9901,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8393\/revisions\/9901"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=8393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/categories?post=8393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/tags?post=8393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}