diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-09-23 18:03:33 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-09-23 18:03:33 -0700 |
commit | c2ab855b40d1c070a6899caa62ea0419a2b3851f (patch) | |
tree | 78064d44ca4c91d2bb5ba6e7d87b7cc55c9aa680 /bin/annexfmail | |
parent | 477aefb72c796ce9fc493aceece05e10e2d18ccf (diff) | |
download | dotfiles-c2ab855b40d1c070a6899caa62ea0419a2b3851f.tar.gz |
drop list-specific maildirs: relying on notmuch
Diffstat (limited to 'bin/annexfmail')
-rwxr-xr-x | bin/annexfmail | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/bin/annexfmail b/bin/annexfmail index 688768f9..d9871351 100755 --- a/bin/annexfmail +++ b/bin/annexfmail @@ -30,9 +30,7 @@ suffix=$(date +-%b-%Y | sed 's/\(.*\)/\L\1/') if [ -e "$OUTPUT/archive${suffix}.gz" ] \ || [ -e "$OUTPUT/sent${suffix}.gz" ] \ || [ -e "$OUTPUT/feeds${suffix}.gz" ] \ - || [ -e "$OUTPUT/debian${suffix}.gz" ] \ - || [ -e "$OUTPUT/debian.bulk${suffix}.gz" ] \ - || [ -e "$OUTPUT/haskell${suffix}.gz" ]; then + || [ -e "$OUTPUT/lists${suffix}.gz" ]; then echo "annexfmail: looks like you've already made an archive recently" >&2 echo "annexfmail: to avoid issues with git-annex, wait until next month" exit 1 @@ -65,22 +63,8 @@ archivemail \ --days=31 \ --output-dir=$OUTPUT \ --preserve-unread \ - --archive-name=debian${suffix} \ - $INPUT/debian - -archivemail \ - --days=31 \ - --output-dir=$OUTPUT \ - --preserve-unread \ - --archive-name=debian.bulk${suffix} \ - $INPUT/debian/.bulk - -archivemail \ - --days=31 \ - --output-dir=$OUTPUT \ - --preserve-unread \ - --archive-name=haskell${suffix} \ - $INPUT/haskell + --archive-name=lists${suffix} \ + $INPUT/lists # cd $OUTPUT # git annex add archive${suffix}.gz sent${suffix}.gz debian${suffix}.gz feeds${suffix}.gz |