BusyB: The Touch Element


Introduction

News

Reference

Installation

Quick Start

Download


The touch element updates the last modified date and time on a file or directory to the current time. If the path named does not exist, the touch element will create it. The touch element has one optional attribute, “recursive”. If recursive is set to true, then touch will touch the directory named in the path and all the files and directories under the path.

The touch element can be used anywhere a <cmd> element can be used.

<step>

<touch path="touchFile"/>

</step>

<step>

<touch recursive="true" path="a"/>

</step>