Files
oam/knowledge base/touch.md
2023-07-09 21:35:14 +02:00

344 B

The touch command

Table of contents

  1. TL;DR

TL;DR

# 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'