Added text "touch -am file3" to the article (#26841)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user