Acquire - Help - placeholders in filenames
Usage: acquire c:\documents\{u}\invoice{DT}.pdf
The Acquire filename argument can contain placeholder expressions consisting of braces {...} containing one or more format characters listed in the table below. These placeholders are evaluated and replaced before the filename is used the first time.
Note: characters appearing inside {...} but not listed in the following table may be ignored or replaced with unpredictable stuff.
If the command above (Usage) is executed by a user named Spike at 2:30PM and 16 seconds on Tuesday, May 19th, 2009, it will be interpreted as:
acquire c:\documents\Spike\invoice20090519143016.pdf
Filename Placeholders
This... | Is Replaced With... | Example | Version |
{d} | day of the month (01..31) | 23 | 2.96 |
{D} | full sortable date, short for: Ymd | 20090521 | 2.96 |
{H} | hour in 24-hour format (00-23) | 14 | 2.96 |
{j} | day of the year (001-366) | 235 | 2.96 |
{m} | month as a decimal number (01-12) | 09 | 2.96 |
{M} | minute (00-59) | 55 | 2.96 |
{S} | second (00-61) | 02 | 2.96 |
{T} | sortable 24-hour time, short for: HMS | 144342 | 2.96 |
{U} | week number, with the first Sunday as day 1 of week 0 (00-53) | 33 | 2.96 |
{u} | the name of the logged-in user. | Spike | 2.96 |
{w} | weekday as a decimal number, Sunday=0 (0-6) | 2 | 2.96 |
{W} | week number with the first Monday as the first day of week 0 (00-53) | 34 | 2.96 |
{x} | brief locale-specific date | 05/21/09 | 2.96 |
{X} | brief locale-specific time | 14:43:42 | 2.96 |
{y} | year, last 2 digits (00-99) | 09 | 2.96 |
{Y} | year (4 digits) | 2009 | 2.96 |