Last active
May 6, 2023 04:18
-
-
Save iaoedsz2008/dc08896ff5bddf4c48a7600a6bbe879b to your computer and use it in GitHub Desktop.
gnu tar指定文件时间
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar cf a.tar --mtime='UTC+8 1996-05-20 13:14:00' a.txt | |
tar cf a.tar --mtime='UTC+8 1996-05-20 13:14:00' --owner=0 --group=0 a.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment