|
|
@ -11,12 +11,16 @@ https://www.ghostscript.com/download
|
|
|
|
http://blog.alivate.com.au/poppler-windows
|
|
|
|
http://blog.alivate.com.au/poppler-windows
|
|
|
|
|
|
|
|
|
|
|
|
**Linux**:
|
|
|
|
**Linux**:
|
|
|
|
`sudo apt install ghostscript`
|
|
|
|
```
|
|
|
|
`sudo apt install poppler-utils`
|
|
|
|
sudo apt install ghostscript
|
|
|
|
|
|
|
|
sudo apt install poppler-utils
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**Mac**:
|
|
|
|
**Mac**:
|
|
|
|
`brew install ghostscript`
|
|
|
|
```
|
|
|
|
`brew install poppler`
|
|
|
|
brew install ghostscript
|
|
|
|
|
|
|
|
brew install poppler
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Then
|
|
|
|
Then
|
|
|
|
|
|
|
|
|
|
|
@ -32,14 +36,20 @@ pip install -e pdfunlock
|
|
|
|
Search for pdfs inside 'pdf_folder', then create new unlocked versions
|
|
|
|
Search for pdfs inside 'pdf_folder', then create new unlocked versions
|
|
|
|
of the pdfs with the the suffix '-unlocked.pdf':
|
|
|
|
of the pdfs with the the suffix '-unlocked.pdf':
|
|
|
|
|
|
|
|
|
|
|
|
`> pdfunlock pdf_folder`
|
|
|
|
```
|
|
|
|
|
|
|
|
pdfunlock pdf_folder
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Search for pdfs inside 'pdf_folder', then unlock the pdfs and overwrite
|
|
|
|
Search for pdfs inside 'pdf_folder', then unlock the pdfs and overwrite
|
|
|
|
the original versions.
|
|
|
|
the original versions.
|
|
|
|
|
|
|
|
|
|
|
|
`> pdfunlock pdf_folder -o`
|
|
|
|
```
|
|
|
|
|
|
|
|
pdfunlock pdf_folder -o
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Search recursively for pdfs inside 'pdf_folder' and all subfolders,
|
|
|
|
Search recursively for pdfs inside 'pdf_folder' and all subfolders,
|
|
|
|
then unlock the pdfs and overwrite the original versions.
|
|
|
|
then unlock the pdfs and overwrite the original versions.
|
|
|
|
|
|
|
|
|
|
|
|
`> pdfunlock pdf_folder -o -r`
|
|
|
|
```
|
|
|
|
|
|
|
|
pdfunlock pdf_folder -o -r
|
|
|
|
|
|
|
|
```
|
|
|
|