I'm using tar to backup a directory. Some files/directories' last-modified-time will be updated but the content remains.I would like to get a tarball with the binary if the directory files' content are not modified.However, as long as the last-modified-time updates, the generated tarball's binary differs.Is there a way to let tar ignore last-modified-time? So that I can get the same binary as long as the contents are not changed.
How to make tar to ignore last-modified-time of files/directories
tar