File module: Touch

Touch one or more files.

Example

Touch a single file:

space -m file /touch/ -- "/home/user/temporary_files/some_file.txt"

Touch a list of file:

space -m file /touch/ -- "/home/user/temporary_files/some_file.txt" "/home/user/temporary_files/another_file.txt"

Exit status code is expected to be 0 on success.

Edit this page