mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
touch: update page (#12789)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
parent
60254aaf72
commit
7c98778e5f
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,6 @@
|
|||
|
||||
`touch -c -t {{YYYYMMDDHHMM.SS}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Set the file time of a specific file to the time of anothe[r] file and don't [c]reate file if it doesn't exist:
|
||||
- Set the files' timestamp to the [r]eference file's timestamp, and do not [c]reate the file if it does not exist:
|
||||
|
||||
`touch -c -r {{~/.emacs}} {{path/to/file1 path/to/file2 ...}}`
|
||||
`touch -c -r {{path/to/reference_file}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue