Community Discussions and Support
How to identify 'old' folders

I have over 4000 folders and want to identify those which have had no mails since a given date with a view to possibly removing them.

Is there a mechanism to do this ?


Thanks

I have over 4000 folders and want to identify those which have had no mails since a given date with a view to possibly removing them. Is there a mechanism to do this ? Thanks

 The first thing that comes to mind is to look at the date/time stamp of each .pmm file in your mailbox directory as that will show the last time it was modified.  A search for *.pmm followed by sorting by date modified should be pretty easy.  The problem then becomes whether you need to know the folder name of each one found or if you intent is simply to copy them to an alternate directory for accessing by adding that directory as an added mailbox.  Post back if you need to identify the folder names.  IIRC, it involves searching the HIERARCH.PM for the entry containing the filename which in turn contains the folder name.  I'm pretty certain I have a detailed notes about the process somewhere if you need them.

 

<p> The first thing that comes to mind is to look at the date/time stamp of each .pmm file in your mailbox directory as that will show the last time it was modified.  A search for *.pmm followed by sorting by date modified should be pretty easy.  The problem then becomes whether you need to know the folder name of each one found or if you intent is simply to copy them to an alternate directory for accessing by adding that directory as an added mailbox.  Post back if you need to identify the folder names.  IIRC, it involves searching the HIERARCH.PM for the entry containing the filename which in turn contains the folder name.  I'm pretty certain I have a detailed notes about the process somewhere if you need them.</p><p> </p>

[quote user="Brian Fluet"]

   Post back if you need to identify the folder names.  IIRC, it involves searching the HIERARCH.PM for the entry containing the filename which in turn contains the folder name.  I'm pretty certain I have a detailed notes about the process somewhere if you need them.

 [/quote]

Yes Brian, it's the folder name that I am after

Thanks

[quote user="Brian Fluet"]<p>   Post back if you need to identify the folder names.  IIRC, it involves searching the HIERARCH.PM for the entry containing the filename which in turn contains the folder name.  I'm pretty certain I have a detailed notes about the process somewhere if you need them.</p><p> [/quote]</p><p>Yes Brian, it's the folder name that I am after Thanks </p>

The HIERARCH.PM file contains an entry for each Pegasus Mail folder.  Those entries contain the .PMM file name and the Pegasus Mail folder name.  One of my entries looks this:

0,0,"L523X8AV:43A9:FOL0048F","033F1989:My mailbox","Pegasus_Mercury related emails"

The 8 characters following the second colon correspond to the .PMM file name.

The ending content between the quotes is the Pegasus Mail filename.

 

<p>The HIERARCH.PM file contains an entry for each Pegasus Mail folder.  Those entries contain the .PMM file name and the Pegasus Mail folder name.  One of my entries looks this:</p><p>0,0,"L523X8AV:43A9:FOL0048F","033F1989:My mailbox","Pegasus_Mercury related emails"</p><p>The 8 characters following the second colon correspond to the .PMM file name. </p><p>The ending content between the quotes is the Pegasus Mail filename. </p><p> </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft