touch Verified for current stable LTS

Touch Command: Set Timestamp By Parsing String

Use for set timestamp by parsing string with Touch. Exact CLI syntax to set timestamp by parsing string using Touch.

When to use this: Use for set timestamp by parsing string with Touch.

Command Syntax

touch -d "<last year|5 hours|next thursday|nov 14|...>" <path/to/file>

Live Command Builder

Final Command

touch -d "<last year|5 hours|next thursday|nov 14|...>" <path/to/file>

Command Breakdown

-d
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to set timestamp by parsing string 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

Back to Touch directory