commit d717341f508de87c1dcb31929fb72d41d6fe2fee parent 0cddbbc438a0f81479660de4d8c13d8db63750bd Author: hhvn <dev@hhvn.uk> Date: Sat, 19 Jun 2021 15:28:34 +0100 .s/b/mailaddheader .s/b/mailarch: remove Diffstat:
D | .scripts/bin/mailaddheader | | | 11 | ----------- |
D | .scripts/bin/mailarch | | | 18 | ------------------ |
2 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/.scripts/bin/mailaddheader b/.scripts/bin/mailaddheader @@ -1,11 +0,0 @@ -#!/bin/sh - -awk -v "header=$1" ' - NF == 0 { - if(added!="y") { - print header - print - } - } - - NF != 0' diff --git a/.scripts/bin/mailarch b/.scripts/bin/mailarch @@ -1,18 +0,0 @@ -#!/bin/sh - -[ -z $1 ] && echo "usage: archive-name maildir" -dir="$2" -target="$1" - -cd $dir - -for d in "cur" "tmp" "new" -do - mkdir -p $target/$d \ - ${target}sent/$d \ - ${target}rubbish/$d - - mv inbox/$d/* $target/$d - mv sent/$d/* ${target}sent/$d - mv rubbish/$d/* ${target}rubbish/$d -done