Can we instruct tar to do not keep modified time of the files in archive file while compress.
What I want is, the extracted directories/files should get time from machine where it's extracting, not from the archive file. But I want to get it done in compression part, not in extraction part with -m.
--mtime
to force the stored mtimes to a specific value. I don't think there's an option to avoid storing it altogether.tar
has no option--mtime
If you refer to vendor specific options, you should mention which vendor specific implementation you refer to.