An open API service indexing awesome lists of open source software.

https://github.com/tweekmonster/pdfpop

A very simple macOS command line utility for creating PDFs from an existing PDF
https://github.com/tweekmonster/pdfpop

command-line macos pdf

Last synced: about 2 months ago
JSON representation

A very simple macOS command line utility for creating PDFs from an existing PDF

Awesome Lists containing this project

README

          

# pdfpop

A very simple macOS command line utility for creating PDFs from an existing
PDF.

## Build

**Note:** Xcode command line tools are required.

```shell
$ git clone https://github.com/tweekmonster/pdfpop
$ cd pdfpop
$ make
```

## Usage

It accepts 3 arguments:

- `-in`: The source PDF file
- `-out`: The output PDF file (optional)
- `-range`: A range of pages

If `-out` is not specified, the source PDF filename is used with the current
date and time appended.

A range of pages can be a single number:

```
$ pdfpop -in file.pdf -range 2
```

Or an actual range of pages (must be ascending order):

```
$ pdfpop -in file.pdf -range 2-5
```

Or a list of page ranges:

```
$ pdfpop -in file.pdf -range 2-5,10,20-30
```

## License

[MIT](LICENSE)