Files
oam/knowledge base/touch.md
2023-01-08 13:24:18 +01:00

13 lines
287 B
Markdown

# Touch
1. [TL;DR](#tldr)
## TL;DR
```sh
# Change the access and modification date of files.
# End the time with 'Z' to specify the new time is UTC instead of local time.
touch -cd '2017-08-15T13:28:42' '20170815_132842.mp4'
touch -cd '2017-08-15T12:28:42Z' '20170815_132842.mp4'
```