From 4b2112bf35f0aef75f4f580f197956e5ec638d68 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 11 May 2026 23:10:46 +0200 Subject: fetch-email: ditch GNU parallel as it's bailing on me MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- bin/fetch-email | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/fetch-email b/bin/fetch-email index f7ac944..d8ace16 100755 --- a/bin/fetch-email +++ b/bin/fetch-email @@ -14,14 +14,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if ! command -v parallel &> /dev/null; then - echo "fetch-email (error): you need 'parallel' installed." - exit 1 -fi - if ! command -v mbsync &> /dev/null; then echo "fetch-email (error): you need 'mbsync' installed." exit 1 fi -grep '^Channel' ~/.mbsyncrc | awk '{ print $2; }' | sort | uniq | parallel -j12 mbsync {} \ No newline at end of file +grep '^Channel' ~/.mbsyncrc | awk '{ print $2; }' | sort | uniq | xargs -n 1 -P 12 mbsync -- cgit v1.2.3