Change file timestamps or create empty files.
Synopsis
touch [OPTION]... FILE...
Description
Update the access and modification times of each FILE to the current time. If a file does not exist, it is created as an empty file. Runs in the just-bash WASM shell inside SLICC.
Options
--helpâDisplay help and exit.
Examples
$ touch newfile.txt
Create an empty file or update its timestamp.
Notes
Operates on the SLICC virtual filesystem (LightningFS/IndexedDB). Unlike GNU touch, date/time flags (-d, -t, -r) are not supported.
See Also
mkdir, stat, date