View the GitHub project here or download the latest release here.
Written By: Jason Wells
This script will iterate either all items in the case or the currently selected items, annotating a concatenation of a subset of each item's path items names, optionally including the evidence container's name.
For example, imagine your case has an attachment to an email with the following item path:
Evidence 1/MailBox.pst/Top of Personal Folders/Inbox/Email/Attachment/EmbeddedImage
Here are the different values that could be recorded, depending on the settings you choose.
Depth | Include Evidence Container | Invert Result | Resulting Value |
---|---|---|---|
3 |
☑️ | 🔲 | Evidence 1/MailBox.pst/Top of Personal Folders |
3 |
🔲 | 🔲 | MailBox.pst/Top of Personal Folders/Inbox |
3 |
Ignored when Invert Result Checked | ☑️ | Inbox/Email/Attachment/EmbeddedImage |
Begin by downloading the latest release of this code. Extract the contents of the archive into your Nuix scripts directory. In Windows the script directory is likely going to be either of the following:
%appdata%\Nuix\Scripts
- User level script directory%programdata%\Nuix\Scripts
- System level script directory
Setting | Description |
---|---|
Root Item Path Depth | How many items from the top of the item path to include. |
Include Evidence Container | When checked the evidence container item will be included in the calculated path value. |
Custom Field Name | The name of the custom metadata field the value will be recorded to. |
Invert Result | When checked, rather than keeping first N items' path names, value will instead be everything but the first N items' path names. |
This script relies on code from Nx to present a settings dialog and progress dialog. This JAR file is not included in the repository (although it is included in release downloads). If you clone this repository, you will also want to obtain a copy of Nx.jar by either:
- Building it from the source
- Downloading an already built JAR file from the Nx releases
Once you have a copy of Nx.jar, make sure to include it in the same directory as the script.
Copyright 2022 Nuix
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.