Renaming VA Folders

VA does not directly support the renaming of folders. There are, however, a couple of ways that this can be achieved.

Using VA's 'Copy or Move'

VA offers the facility to copy or move messages from one folder to another – the difference between copy and move is that move marks the messages deleted in the source folder (they can be removed permanently using prune) whereas copy leaves them as they were.

When copying or moving messages there are two options:

  • VA can simply append the copied messages to the destination folder with new message numbers starting one greater than the highest existing message number in the folder. Threading will be lost.
  • VA can copy the messages into the destination folder with the same message numbers that they had in the source folder. Threading will be preserved.

Note, however, that in the second case any existing messages with the same message numbers as the messages being copied will be replaced, and the copied messages may be unexpectedly threaded to existing messages in the destination folder that have the same numbers as their parents in the source folder. This means that the second method is not generally very useful unless the destination folder is empty when the copy is performed.

For copying a whole folder to one with a different name, though, it is ideal.

  1. Go to the folder you want to rename.
  2. In the thread pane, press Ctrl+A to select all the messages in all the threads.
  3. Right-click on one of the messages in the thread pane and select "Send To" → "Any folder".
  4. Type in the name of the folder you want to copy the messages to
  5. Ensure that the "Append and renumber messages after last message" checkbox is NOT checked.
Editing the MessageBase files directly

For advanced users only – it is suggested that you should back up your MessageBase before attempting the method here.

The following steps illustrate how to create a new local folder (we'll call it "New folder"), import messages from another local folder and delete the old one (we'll call it "Old folder"). At this writing this is the only way to "rename" a folder and keep the threading:

1. Create a new folder named "New Folder" under the service of your choice using the Main Menu, File → New → Folder

2. Use a file managing program to go to the subdirectory where you have the files stored for Old folder.

There will be four files: "", "old_folder.ind", "old_folder.thr" and "old_folder" (with no extension). Note that VA puts the underscore in the space between "old" and "folder".

3. Open the "old_folder" file (the one with no extension) in a text editor.

At the beginning of each message there is string with ServiceName/FolderName. Do a text replace, in this example, on "old_folder" and replace it with "new_folder". You can save the file with any name you want.

4. Go to Main Menu → Import messages and import the messages from the file you've just edited into the New Folder folder. The threading will be preserved.

5. Right click on Old Folder and choose delete. In the window that comes up, check all three boxes (Hide the folder, Delete the folder and Stop Collecting Messages) to remove it completely from your VA directory.

vaosfaq/renamefolders.txt · Last modified: 02.06.2008 16:39 by daniel
Recent changes RSS feed Driven by DokuWiki