mirror of
https://github.com/tezzytezzy/pdf-batch-compressor.git
synced 2024-09-22 00:00:44 +02:00
Update description
This commit is contained in:
parent
367248621c
commit
0417ba23da
|
@ -1,12 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
### FUNCTIONALITY ###
|
### FUNCTIONALITY ###
|
||||||
# Compress PDF files in the folder where this script resides via Ghostscript
|
# Compress PDF files via Ghostscript in the folder where this script resides
|
||||||
# 1. Create a sub-folder, ./compressed, and put the resultant compressed ones in it
|
# 1. Create a sub-folder, ./compressed, and put the resultant compressed ones in it,
|
||||||
# 2. Compress files with any PDF extentions i.e., .pdf, .PDF, .pDf and so on
|
# 2. Compress files with any PDF extensions i.e., .pdf, .PDF, .pDf and so on,
|
||||||
# 3. Optional compression parameter, namely, prepress, ebook (default) and screen - in the descending order of quality
|
# 3. Optional compression parameter to be supplied, namely, prepress, ebook (default) and screen - in the descending order of quality,
|
||||||
# 4. Log output in the sub-folder with the compressed file names and any error message
|
# 4. Log output with the compressed file names and any error message in the sub-folder, and
|
||||||
# N.B. Make sure to make this script excutable via chmod +x or 755, after copying!
|
# N.B. Make sure to make this script executable via chmod +x or 755, after copying!
|
||||||
|
|
||||||
shopt -s nocaseglob
|
shopt -s nocaseglob
|
||||||
# Bash matches filenames in a case-insensitive fashion when performing filename expansion
|
# Bash matches filenames in a case-insensitive fashion when performing filename expansion
|
||||||
|
|
Loading…
Reference in New Issue
Block a user