UDM - File Extension Attributes

File Extension Attributes

Some file systems support file extensions. In the case where the source filename is used as the destination filename, UDM can either add an extension or truncate a file's extension. If the trunctext attribute is set to yes, the extension of the source filename is truncated when writing the destination file. If the defaultext attribute is set to any value, that value is appended to the end of the source filename when writing the destination file.


A Stonebranch Tip

File extension attributes only come into play when a destination filename is not specified.

UDM considers a file extension to be the character sequence followed by the last period (.) in the filename, not including a dot character appearing as the first character in the filename.

The character sequence specified by defaultext is appended verbatim.

A dot (.) is not implied at the beginning of this sequence and must be explicitly included if it is desired in the destination filename.