touch
Verified for current stable LTS
Touch Commands
Touch command syntax with verified terminal examples.
Commands
7 commands for Touch
touch Operations
Touch Command: Create Multiple Files Increasing Number
touch {{path/to/file{1..10}}} touch Operations
Touch Command: Create Multiple Files Letter Range
touch {{path/to/file{a..z}}} touch Operations
Touch Command: Create Specific Files
touch <path/to/file1 path/to/file2 ...> touch Operations
Touch Command: Set Access Modification Time Current No Create
touch -c <-a|-m> <path/to/file1 path/to/file2 ...> touch Operations
Touch Command: Set Time To Specific Value No Create
touch -c -t <YYYYMMDDHHMM.SS> <path/to/file1 path/to/file2 ...> touch Search
Touch Command: Set Timestamp By Parsing String
touch -d "<last year|5 hours|next thursday|nov 14|...>" <path/to/file> touch Operations
Touch Command: Set Timestamp From Reference File No Create
touch -c -r <path/to/reference_file> <path/to/file1 path/to/file2 ...> Suggest a Touch Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Touch workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.