diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-12 13:14:25 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-12 13:41:50 -0700 |
commit | ecac9d421edf40894788d04d9f33be2b625e45f4 (patch) | |
tree | 73d3ddc402a0afb41e16b5bb7b519205558f5754 /scripts | |
parent | 6f51a6b4f4051f7728465d96c5328218f39d27f9 (diff) | |
download | dotfiles-ecac9d421edf40894788d04d9f33be2b625e45f4.tar.gz |
store Gnus/notmuch's copy of annexed mail in a single maildir's cur/
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mail/archive-fmail-to-annex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/mail/archive-fmail-to-annex b/scripts/mail/archive-fmail-to-annex index 1f647387..d9cfac17 100755 --- a/scripts/mail/archive-fmail-to-annex +++ b/scripts/mail/archive-fmail-to-annex @@ -35,9 +35,10 @@ my @gzipped_mboxes; foreach my $name (keys %names) { my $target = $names{$name} . $suffix; archive_to_mbox( - catfile($maildirs, $name), - catfile($mboxes, $target), - catfile($expanded_mboxes, $target)); + catfile($maildirs, $name), + catfile($mboxes, $target), + $expanded_mboxes + ); push @gzipped_mboxes, $target . ".gz"; } |