From 7c98778e5fca5d9d7ba0f9d639844134a48bfbe2 Mon Sep 17 00:00:00 2001 From: licon Date: Wed, 15 May 2024 18:45:04 +0800 Subject: [PATCH] touch: update page (#12789) Co-authored-by: Juri Dispan --- pages/common/touch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/touch.md b/pages/common/touch.md index 93dd4270e..41c75995c 100644 --- a/pages/common/touch.md +++ b/pages/common/touch.md @@ -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 ...}}`