How to create a batch of sessions to process multiple source files or folders

Using Aid4Mail version 5.0.4 (Build 679) or later provides you with the functionality to create a batch of sessions using the asterisk wildcard in the source location or PST file field. This is very useful if your source folder contains multiple PST or Mimecast files that need to be processed. The asterisk wildcard can also be used in the target location or PST file field if you need to convert each source file to an individual target file.

Finally, this asterisk wildcard can also be used for processing folders that contain mail data such as EML files. Let us explain in detail below.

For example, lets say you have the following source folder:

C:\PST files\

that contains the following PST files:

fred.pst
sally.pst
mike.pst
judy.pst

You can now enter the following in your source PST file location in Aid4Mail:

C:\PST files\*.pst

Next you can configure the target settings for the session. If you were converting to EML files, you can use the * character in the target location field as a placeholder for the corresponding source PST file name. For example:

C:\Target\EML\*

Your Source and Target settings would look like this:

Once you have configured all the settings, make sure the Session List is shown and then click the "Duplicate" button. Aid4Mail will now replace the filename pattern in this session with the full name of the first PST file. It will then create three new, duplicate sessions: one for each of the remaining three PST files that match the pattern. :

Session-001 C:\PST files\fred.pst
Session-002 C:\PST files\sally.pst
Session-003 ...

The above method also works with source Mimecast and Google Takeout files.

Another example would be if you have the following Mimecast source folder:

C:\Mimecast\Users Archives\

and it contains the following files:

mike@aid4mail.com_20121201_20121231_US334-13.000001.zip
fred@aid4mail.com_20121201_20121231_US334-13.000001.zip
sally@aid4mail.com_20121201_20121231_US334-13.000001.zip
judy@aid4mail.com_20121201_20121231_US334-13.000001.zip

You would select Mimecast SJF Format as the source and then add the following in the location:

C:\Mimecast\Users Archives\*.zip

If you need to migrate each users archive to an individual PST file, you would add the following in the Target PST file location:

C:\Target\PST Files\*.pst

Once all the other settings are configured in the session, make sure the Session List is shown and then click the "Duplicate" button. Aid4Mail will now replace the filename pattern in this session with the full name of the first zipped file. It will then create three new, duplicate sessions: one for each of the remaining three zipped files that match the pattern. The target PST file locations will also be automatically updated like this:

mike@aid4mail.com_20121201_20121231_US334-13.000001.pst
fred@aid4mail.com_20121201_20121231_US334-13.000001.pst
sally@aid4mail.com_20121201_20121231_US334-13.000001.pst
judy@aid4mail.com_20121201_20121231_US334-13.000001.pst

Lastly, the asterisk duplication feature works with subfolders. Suppose your root folder has the following subfolders (that contain EML files):

sally@aid4mail.com
judy@aid4mail.com
fred@aid4mail.com
mike@aid4mail.com

You can enter the following as your source location in Aid4Mail (the missing dot tells Aid4Mail to match folders instead of files):

C:\Source\User EML Files\*

If you want to convert each of the folders containing EML files to a single MBOX file, you would enter the following in the target location:

C:\Target\User MBOX files\*.mbox

When you are finished configuring your session, make sure the Session List is shown and then click the "Duplicate" button. Aid4Mail will then replace the filename pattern in this session with the full name of the first subfolder. It will then create three new, duplicate sessions: one for each of the remaining three subfolders that match the pattern.

Session-001
Source location: C:\Source\User EML Files\sally@aid4mail.com
Target location: C:\Target\User MBOX files\sally@aid4mail.com.mbox

You can use this subfolder Duplicate method for the following source formats:

  • EML
  • Google Takeout
  • mbox
  • Mimecast
  • Outlook .msg
  • SeaMonkey
  • Thunderbird


If you experience any issues, please don't hesitate to contact us.

If you would like to buy an Aid4Mail license, please visit the Aid4Mail website.



Did you find it helpful? Yes No
Aid4Mail is a trademark licensed to Fookes Software Ltd. Fookes is a registered trademark of Fookes Holding Ltd. All other trademarks and service marks, both marked and not marked, are the property of their respective owners.