Method: Classification

Sort files into a folder hierarchy based on portions of their path and filename.

Notice

Populating the list with the All preset inserts the list into the currently active Profile; because of this, when the Classification plugin is updated, any newly-added filetypes will not automatically be added to your list.

The Classification plugin will show a notice at the bottom of the editor area containing the Open the Classification Editor... button letting you know that the presets have changed and that you should re-select the requisite preset to add the updates to your profile.

  • Folders
  • This list contains the folders, and their hierarchy as they'll appear on-disk if any items within the folders are matched.

    When an item within a folder matches, the folder and all of its parents will be created in exactly the order as specified within the list. Unchecking a folder will ignore any items defined within that folder, but any child folders that are checked will not be ignored.

    It is recommended that you select All from the Presets menu, or press Ctrl+D, if you would like to see an example of a full-classification structure if you've never used the Classification editor before.

    Notice

    As these are the folders as they'll appear on-disk, any of the following OS-illegal characters will be removed if entered:

    Line-Feed Carriage-Return < > : " / \ | ? *

    You can use drag and drop to move the folders around.


    Tip

    You can use drag and drop to move the folders around and change the folder groups they belong to.


  • File Matches
  • This is the list of file matches for the currently-selected folder. Any successful matches will be placed within the selected folder, which'll be created under that folder's parents' folders.

    Tip

    Dropping a file onto the File list will automatically create a new match for it. Dropping multiple files onto the File list will create a new match that specifies the extensions of all the dropped files.


    • Name
    • The name of the item. This is purely used for descriptive purposes and has no bearing on the final processing.

    • RegEx Field
    • The field that should be the Regular Expression should be checked against. Typically, this value is Extension, so only the extension of an item/filename is checked.

      • Path, Filename, Extension
      • The full path, filename, and extension of the item (file).

      • Path, Filename
      • The path and filename of the item, excluding extension.

      • Filename, Extension
      • The filename and extension of the item, excluding path.

      • Filename
      • The filename of the item, excluding path and extension.

      • Extension
      • The extension of the item's filename, including the leading full-stop.

    • RegEx
    • The Regular Expression that should be performed against an item and its selected RegEx Field.

      Technical Users

      The internal Regular Expressions options for the regex object is set to the following:

      RegexOptions.IgnoreCase, RegexOptions.Singleline

  • Verify
  • Performs a full verification of all items within all folders to ensure their names and regular expressions are valid. Any unchecked/unticked folders and/or items are ignored during the verification.

    Note

    A full verification run is always performed when closing the editor, so a manual check isn't typically required.


    Warning

    While the Classification Editor window itself can be closed with the window's close button, make sure that you click on the Okay button within the Methods window after closing the editor to ensure the changes made are saved.