Skip to content

Triples92/PDF_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Opensource PDF toolkit

This project aims to provide pdf tooling that free of charge to users. The scripts work using bash.

Project Structure

Setup

  1. Clone the repository:

    git clone https://github.com/Triples92/PDF_tools
  2. Change directory to match user's workspace:
    Replace the directory link in the source and python lines in merge_pdf.shto match the directory your cloned repository is in.

  3. Install dependencies:

    pip install -r requirements.txt

Merging PDFs

The merge_pdf script can merge up to 6 pdfs at a time. The order of the pdfs merged depends on the order you call each file.

Usage

Using merge_pdf.sh

To merge PDF files using the merge_pdf.sh script, simply run the script as below. You must start the first variable with the file name and ensure that you add the extension. See example below:

Run the merge_pdf.shscript:
./merge_pdf.sh <output-file> <input-file-1> <input-file-2> <input-file-3> <input-file-4> <input-file-5>

Example:

```
./merge_pdf.sh merged.pdf file1.pdf file2.pdf file3.pdf file4.pdf file5.pdf
```

This will merge the specified input PDF files into a single output file named `merged.pdf`.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages