mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
touch: Remove hard coded date example. Reorder wording for -r.
This commit is contained in:
parent
a53e772333
commit
93b96be95c
1 changed files with 3 additions and 4 deletions
|
@ -6,11 +6,10 @@
|
|||
|
||||
`touch {{filename}}`
|
||||
|
||||
- Set the times on a file to those specified:
|
||||
- Set the times on a file to a specific date and time:
|
||||
|
||||
`touch -t 201412250801.59 {{filename}}`
|
||||
`touch -t {{YYYYMMDDHHMM.SS}} {{filename}}`
|
||||
|
||||
- Set the times on a file to match those on second file:
|
||||
- Use the times from a file to set the times on a second file:
|
||||
|
||||
`touch -r {{filename2}} {{filename}}`
|
||||
`touch -r {{filename}} {{filename2}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue