touch Verified for current stable LTS

Touch Command: Set Timestamp From Reference File No Create

Use for set timestamp from reference file no create with Touch. Exact CLI syntax to set timestamp from reference file no create using Touch.

When to use this: Use for set timestamp from reference file no create with Touch.

Command Syntax

touch -c -r <path/to/reference_file> <path/to/file1 path/to/file2 ...>

Command Breakdown

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

FAQ

Purpose: Exact syntax to set timestamp from reference file 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

Back to Touch directory