-m, --modification-time
Change only the modification time.
An option of touchx.
Usage
touchx -m FILE...
touchx --modification-time FILE...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-m | --modification-time | none | change only the modification time |
Examples
Set only the modification time to a specific date
touchx -m -d '2024-01-02 15:04:05' report.pdfCopy just the modification time, and only to files that already exist
touchx -c -m -r original.jpg edited.jpg report.pdfHelp in the terminal
gnux help touchx --modification-time