Discussion:
merging monthly post-out directories.
Sharon Kimble
2014-12-08 18:47:26 UTC
Permalink
With the new year coming up how do I merge my monthly post-out
directories for 2014 please? That way I can continue quite nicely in
the new year and still have access to the copy emails.

Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
Xavier Maillard
2014-12-08 20:56:59 UTC
Permalink
Post by Sharon Kimble
With the new year coming up how do I merge my monthly post-out
directories for 2014 please? That way I can continue quite nicely in
the new year and still have access to the copy emails.
I am not sure I understand it correctly, but, I would have done it gnus
expiry mechanism for these particular groups.

See if http://www.emacswiki.org/emacs/ArchivingMail can help.

Regards
--
Xavier
Adam Sjøgren
2014-12-09 18:39:54 UTC
Permalink
Post by Sharon Kimble
With the new year coming up how do I merge my monthly post-out
directories for 2014 please? That way I can continue quite nicely in
the new year and still have access to the copy emails.
You can mark the messages you want to move with '#' and then move them
using 'B m', which will prompt you for the group to move the articles
to.

If this doesn't help, you need to describe in more detail what it is you
want to do, please.


Best regards,

Adam
--
"Plasmids are circular bits of DNA that bacteria Adam Sjøgren
treat like Pokemon - trading with their friends ***@koldfront.dk
collecting all the cool ones."
Xavier Maillard
2014-12-09 21:30:29 UTC
Permalink
Post by Adam Sjøgren
Post by Sharon Kimble
With the new year coming up how do I merge my monthly post-out
directories for 2014 please? That way I can continue quite nicely in
the new year and still have access to the copy emails.
You can mark the messages you want to move with '#' and then move them
using 'B m', which will prompt you for the group to move the articles
to.
Ah good catch !

Regards
--
Xavier
Sharon Kimble
2014-12-10 02:36:35 UTC
Permalink
Thanks for this Adam.

Currently each mail/newsposting sent, has a copy saved under -
"nnfolder+archive:sent.2014-12", for this month. What I would like
to do is to be able to save each of these folders into another one
just for "2014" and thereby taking them out of the folder tree and
putting them one layer further down. Then the new one visible and in
use will be "nnfolder+archive:sent.2015-01"

I could do it easily and manually with copy folder, and paste into
2014 folder, but is it possible to do it as part of a script please?
Or as part of gnus?

Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
Adam Sjøgren
2014-12-10 10:25:10 UTC
Permalink
Post by Sharon Kimble
"nnfolder+archive:sent.2014-12", for this month. What I would like
to do is to be able to save each of these folders into another one
just for "2014"
You can do this by going to each of the 12 folders, marking all the
articles ('C-u 1000 #' or however many you have in each folder), and
then moving them to a new group, using 'B m', called
nnfolder+archive:sent.2014

I think that is the easiest and quickest solution.


Best regards,

Adam
--
"Close the door to it all Adam Sjøgren
A crash and a fireball ***@koldfront.dk
If that feels good
This is the end"
Sharon Kimble
2014-12-10 14:20:42 UTC
Permalink
Post by Adam Sjøgren
Post by Sharon Kimble
"nnfolder+archive:sent.2014-12", for this month. What I would like
to do is to be able to save each of these folders into another one
just for "2014"
You can do this by going to each of the 12 folders, marking all the
articles ('C-u 1000 #' or however many you have in each folder), and
then moving them to a new group, using 'B m', called
nnfolder+archive:sent.2014
I think that is the easiest and quickest solution.
Thanks Adam, that would work, except I want to keep them in the
monthly folders. Although its not what I stated above. It would be
easier to search through them for a particular post if they remained
in their monthly folders, so is it just a matter of renaming the
folders, and then cut and pasting them into one for 2014?

Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
Adam Sjøgren
2014-12-10 14:32:55 UTC
Permalink
Post by Sharon Kimble
Post by Sharon Kimble
"nnfolder+archive:sent.2014-12"
Thanks Adam, that would work, except I want to keep them in the
monthly folders.
Why do you need to change anything, then?

If the folders are named as you wrote previously, then next year you
will get nnfolder+archive:send.2015-01, right?

I don't think I understand what you are trying to achieve.
Post by Sharon Kimble
easier to search through them for a particular post if they remained
in their monthly folders, so is it just a matter of renaming the
folders, and then cut and pasting them into one for 2014?
Are you looking for Group Topics? I.e. grouping of folders?

See: http://gnus.org/manual/gnus_34.html#SEC34


Best regards,

Adam
--
"Could you tell me what the status of Gnus Adam Sjøgren
development currently is, and these limited features ***@koldfront.dk
you plan to implement are?"
Sharon Kimble
2014-12-11 02:53:03 UTC
Permalink
Post by Adam Sjøgren
Post by Sharon Kimble
Post by Sharon Kimble
"nnfolder+archive:sent.2014-12"
Thanks Adam, that would work, except I want to keep them in the
monthly folders.
Why do you need to change anything, then?
If the folders are named as you wrote previously, then next year you
will get nnfolder+archive:send.2015-01, right?
I don't think I understand what you are trying to achieve.
What I'm looking to create is a folder for 2014, which contains 12
other folders each relating to its month of the year, and holding
all the emails and newsgroups postings out for that month.

Then it appears in my gnus tree that I have monthly folders of
outgoing for 2015, and one big folder of 2014, which, when you look
inside has 12 separate folders corresponding to each month of the
year.
Post by Adam Sjøgren
Post by Sharon Kimble
easier to search through them for a particular post if they remained
in their monthly folders, so is it just a matter of renaming the
folders, and then cut and pasting them into one for 2014?
Are you looking for Group Topics? I.e. grouping of folders?
See: http://gnus.org/manual/gnus_34.html#SEC34
I had a look at "group topics" but that doesn't seem to be what I'm
looking for.

Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
Xavier Maillard
2014-12-11 05:57:00 UTC
Permalink
Sharon Kimble writes:

[...]
Post by Sharon Kimble
Post by Adam Sjøgren
Post by Sharon Kimble
easier to search through them for a particular post if they remained
in their monthly folders, so is it just a matter of renaming the
folders, and then cut and pasting them into one for 2014?
Are you looking for Group Topics? I.e. grouping of folders?
See: http://gnus.org/manual/gnus_34.html#SEC34
I had a look at "group topics" but that doesn't seem to be what I'm
looking for.
You request is something like a "nested folders" structure wich can be
elegantly and easily implemented via 'group topics'.

Something like this:

____Post out <----- GROUP TOPIC
| |____2014 <----- GROUP TOPIC level+1
| | |____1 <----- YOUR FOLDERS
| | |____10
| | |____11
| | |____12
| | |____2
| | |____3
| | |____4
| | |____5
| | |____6
| | |____7
| | |____8
| | |____9
| |____2015

Does that make sense ?

Regards
--
Xavier
Adam Sjøgren
2014-12-12 22:02:13 UTC
Permalink
Post by Sharon Kimble
What I'm looking to create is a folder for 2014, which contains 12
other folders each relating to its month of the year, and holding
all the emails and newsgroups postings out for that month.
Ok, you can do this by moving the emails from the existing folder:

nnfolder+archive:sent.2014-12

to a new folder:

nnfolder+archive:sent.2014/12

On disk the articles will then be stored in the file
~/Mail/archive/sent.2014/12 instead of in ~/Mail/archive/sent.2014-12

Note, however, that Gnus will show these subfolders uncollapsed (as far
as I can tell, maybe someone who uses subfolders regularly can correct
me), so there isn't much point in doing so, as far as I can see.

But since new email isn't written to those groups, they aren't show
anyway, right?
Post by Sharon Kimble
I had a look at "group topics" but that doesn't seem to be what I'm
looking for.
I think topics is the closest you're going to get. Then you can put all
your sent.2014-groups under a [2014] topic and close it.


Best regards,

Adam
--
"It was called Tinderbox so we could make the joke, Adam Sjøgren
'the tree is on fire'. Puns are very important in ***@koldfront.dk
naming tools."
Sharon Kimble
2015-01-04 18:04:25 UTC
Permalink
In reply to a message sent by ***@koldfront.dk (Adam Sjøgren) 25 days ago:

<#secure method=pgpmime mode=sign>
Post by Adam Sjøgren
Post by Sharon Kimble
"nnfolder+archive:sent.2014-12", for this month. What I would like
to do is to be able to save each of these folders into another one
just for "2014"
You can do this by going to each of the 12 folders, marking all the
articles ('C-u 1000 #' or however many you have in each folder), and
then moving them to a new group, using 'B m', called
nnfolder+archive:sent.2014
I think that is the easiest and quickest solution.
I agree Adam, and that's what I've just done. The whole process took
about 20 minutes, including checking that they’re all been moved
over, unsubscribing the empty folders, and then killing them.

I decided in the end that I wouldn't really have any benefit keeping
them in monthly folders, not now I've got the searching working
well. So I'll now just update the "namazu" database, and then I'm
all set for 2015! :)

Thanks.

Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
Loading...