All apps/touch

touch

touch

Changes file access and modification times, creating files that do not exist.

Runs as touch|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 7 fields

Create empty files or set their access and modification times.

Opens the form; the finished command lands at your prompt, unrun
otty gui touch
Create or update filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files*
any
TasksEach one presets the form for one job
Create files
files
Update times of existing files
filesno_createaccess_onlymodify_onlytimestampreference
ParametersOnly these flags are editable in the form
Access time only
boolean
-a
Modification time only
boolean
-m
Do not create
Do not create the file if it does not exist.
boolean
-c
Affect symlink itself
boolean
-h
Copy times from file
path
-r
Timestamp
Use this time instead of now.
string
-t
Files
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed touch against its version. A form that does not match your version is not offered.