Delete specified pdf pages using command line

It is quite common for you to delete specified pdf pages when you process them as your daily task. To help you save time and improve working efficiency, the VeryPDF.com offers you Advanced PDF Tools Command Line. It is an ideal tool to edit pdf file, under its help, you can delete specified pdf pages at your will.

First step—Downloading

Follow this link you will obtain Advanced PDF Tools

http://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

The whole package is just of 3.04 MB, making the download swiftly, do remember to extract it, for it is a zipped package.

Second step—Launching

You are bound to launch MS-DOS command prompt window. Because the command line is bound to be operated under the MS-DOS environment. The procedure is easy, and the following pictures will guide you.

1) click “start” and then go to “Run”

Snap100

Snap101

2) input cmd into the following

Snap57

3) press “ok”, you will find MS-DOS command prompt window popping up

Snap1

Third step—Inputting

input command line to delete specified pdf pages

it goes below

pdftools.exe-i “C:\input.pdf” -o “C:\output.pdf” “-&” “1,2-4,9”   

where

  • -i is to specify a pdf filename or a directory for input,
  • -o is to specify the pdf file name for output,
  • “-&” “1,2-4,9″ : “-&” is to delete pdf pages and “1,2-4,9”  refers to the specified pages that you are going to delete.

when the input is done, press “enter” key, you will see

Snap152

Fourth, open the file to check the result

Snap154

Snap153

From the comparison, you can see the pages  have been downsized from 16 to 11, where, specified pages 1,2-4, 9 are missing.

If you have further questions on editing pdf file, please feel free to leave your comments below, the VeryPDF.com values them very much!

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in Advanced PDF Tools and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!