Added text "touch -am file3" to the article (#26841)

This commit is contained in:
Elephant
2018-10-24 05:06:51 +02:00
committed by Martin Payne
parent d880002faf
commit 0a40038272

View File

@@ -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: