touch
Verified for current stable LTS
Touch Command: Set Time To Specific Value No Create
Use for set time to specific value no create with Touch. Exact CLI syntax to set time to specific value no create using Touch.
When to use this: Use for set time to specific value no create with Touch.
Command Syntax
touch -c -t <YYYYMMDDHHMM.SS> <path/to/file1 path/to/file2 ...> touch -c -t <YYYYMMDDHHMM.SS> <path/to/file1 path/to/file2 ...> Live Command Builder
Final Command
touch -c -t <YYYYMMDDHHMM.SS> <path/to/file1 path/to/file2 ...> Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
-t- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set time to specific value no create using Touch.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Touch Command: Create Multiple Files Increasing Number
touch {{path/to/file{1..10}}} Touch Command: Create Multiple Files Letter Range touch {{path/to/file{a..z}}} Touch Command: Create Specific Files touch <path/to/file1 path/to/file2 ...> Touch Command: Set Access Modification Time Current No Create touch -c <-a|-m> <path/to/file1 path/to/file2 ...> Touch Command: Set Timestamp By Parsing String touch -d "<last year|5 hours|next thursday|nov 14|...>" <path/to/file>