touch: update page (#12789)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
@@ -15,6 +15,6 @@
|
|||||||
|
|
||||||
`touch -c -t {{YYYYMMDDHHMM.SS}} {{path/to/file1 path/to/file2 ...}}`
|
`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 ...}}`
|
||||||
|
Reference in New Issue
Block a user