From 0a4003827259295e636303dbe581124356d86548 Mon Sep 17 00:00:00 2001 From: Elephant <34973210+gmappy@users.noreply.github.com> Date: Wed, 24 Oct 2018 05:06:51 +0200 Subject: [PATCH] Added text "touch -am file3" to the article (#26841) --- guide/english/bash/bash-touch/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guide/english/bash/bash-touch/index.md b/guide/english/bash/bash-touch/index.md index 01e0671033..f312a9c0f4 100644 --- a/guide/english/bash/bash-touch/index.md +++ b/guide/english/bash/bash-touch/index.md @@ -15,11 +15,13 @@ Creates empty file if not exists or modify times of existing files to current ti Commonly used options: - `-t` change timestamp to specific date ((YYYYMMDDHHMM.SS)) instead of current time. - `-r` use timestamp from first file to second file. - +- `-a` In case you want to only change the access time, use the -a command line option. +- `-m` Similarly, if the requirement is to only change the modification time, use the -m command line option. Examples: ``` touch -t YYYYMMDDHHMM.SS filename touch -r file1 file2 +touch -am file3 ``` ### More Information: