Table of Contents

Data Resource - Template Data URI

About

A template data uri is a data uri that defines one or more resources via template.

Example

Reusing the name of the source in the target

The below target data uri

new_$name@sqlite

will define the target resource

Example: if the source table name is time, the target table name would be new_time

Using a part of source name in the target

With a glob pattern, you can reference parts of the source.

Example with the below data selector

D?*@sqlite

and the below target data uri

# 2 for the second glob pattern (ie for the *), 1 being for the first ?
$2@sqlite

File system

In a shell such as powershell, the $ character should be quoted.

tabul data copy '*/bootstrap.min.css@cd' '/boot/bootstrap.$1.min.css@cd'

Syntax

template[@connection]

where:

Note on Cross transfer to the file system

Note that if:

the target name is calculated by a concatenation of: