Information Technology Reference
In-Depth Information
Mapping Directory Name Components
to Metadata Fields
Now that you've created a simple example of a production scan with directory mapping,
let's try using more complex regular expressions to map specific bits of a directory name
into separate metadata fields. You can use these examples as a building block for designing a
naming convention, or as a foundation for building out more complex regular expressions.
1
In the left pane of the Administration window, select Response, and then double-click
Production Scan of Projects to edit the response you made earlier.
2
Select Production Scan from the left pane, and then scroll down to the Production
Metadata section. Enter the following values:
Title = [0]/^([^_]*)_/
This will map the beginning value from your directory structure—for example, May.
Client = [0]/_(.*)_/
This will map the middle value from your directory structure—for example, Smith.
Product = [0]/_([^_]*)$/
This will map the last value from your directory structure—for example, 2008.
3
In the Scan Metadata section, select the Reset Production Metadata checkbox. This
forces existing productions to have their metadata remapped the next time the scan is
 
 
Search WWH ::




Custom Search