From 156327959f81167011282a174df5be20d0197875 Mon Sep 17 00:00:00 2001 From: Breizh Date: Wed, 22 Feb 2023 00:18:00 +0100 Subject: [PATCH] =?UTF-8?q?Script=20de=20conversion=20d=E2=80=99un=20lot?= =?UTF-8?q?=20d=E2=80=99image=20en=20un=20PDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/bin/images-to-pdf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/images-to-pdf diff --git a/.local/bin/images-to-pdf b/.local/bin/images-to-pdf new file mode 100755 index 0000000..1af7555 --- /dev/null +++ b/.local/bin/images-to-pdf @@ -0,0 +1,5 @@ +#!/bin/bash + +# images-to-pdf *.jpg complete.pdf + +systemd-run --user --scope -p MemoryMax=4G -p MemoryHigh=3G -p MemorySwapMax=2G convert -limit memory 2GiB "$@"