chatgpt showed me how to do it with ghostscript.
for f in *.pdf;
do echo "Compressing $f with light compression...";
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer
-dNOPAUSE -dQUIET -dBATCH -sOutputFile="${f%.pdf}-light.pdf"
"$f"; done
On Tue, Oct 21, 2025 at 11:44 AM Stephen Partington via PLUG-discuss <
[email protected]> wrote:
> Do they need to remain PDF files? That will require editing them and
> effectively altering those settings to reduce their size.
>
> Otherwise, you could consider zipping them (specifically using ZIP
> compression)
>
> On Tue, Oct 21, 2025 at 10:44 AM Michael via PLUG-discuss <
> [email protected]> wrote:
>
>> I have 4 pdf files that are a maximum of 15 MB. I need them to be 4 MB.
>> HOw can I do it, please?
>> ---------------------------------------------------
>> PLUG-discuss mailing list: [email protected]
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> --
> A mouse trap, placed on top of your alarm clock, will prevent you from
> rolling over and going back to sleep after you hit the snooze button.
>
> Stephen
>
> ---------------------------------------------------
> PLUG-discuss mailing list: [email protected]
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list: [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss