mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
cmake -E tar: Add --touch option
Similar to GNU tar add a --touch option to the tar extract command to skip extracting the timestamps from the files in the archive effectively touching them as if they were just created. Issue: #22746
This commit is contained in:
@@ -1227,7 +1227,8 @@ the ``MTIME`` option.
|
||||
[DESTINATION <dir>]
|
||||
[PATTERNS <patterns>...]
|
||||
[LIST_ONLY]
|
||||
[VERBOSE])
|
||||
[VERBOSE]
|
||||
[TOUCH])
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
@@ -1245,4 +1246,8 @@ extracted.
|
||||
|
||||
``LIST_ONLY`` will list the files in the archive rather than extract them.
|
||||
|
||||
.. versionadded:: 3.24
|
||||
The ``TOUCH`` option gives extracted files a current local
|
||||
timestamp instead of extracting file timestamps from the archive.
|
||||
|
||||
With ``VERBOSE``, the command will produce verbose output.
|
||||
|
||||
Reference in New Issue
Block a user