FileSystem.CreateTimestampDirectory

Description

This Task takes files and folders and puts them in a timestamp sub-directory in its its output folder.

FileSystem.CreateTimestampDirectory uses the datetime module from Python’s standard library internally.

Arguments

  • name_pattern (optional) is a string specifying how the date and time should be formatted in the directory that will be created. For a nice list of available directives see strftime.org .
# name_pattern = '%Y-%m-%d_%H%M%S'  # default
name_pattern = 'logfiles %d.%m.%Y'

Requirements

Python (Non-Standard-Library Packages)

None.

External Executables

None.

API Credentials

None.

Resources