When running tar xzf
, how to prevent this message (Prevent showing time stamp message):
tar: node: time stamp 2011-06-07 02:02:30 is 8309 s in the future
tar: user/Node: time stamp 2011-06-07 01:56:05 is 7924 s in the future
When running tar xzf
, how to prevent this message (Prevent showing time stamp message):
tar: node: time stamp 2011-06-07 02:02:30 is 8309 s in the future
tar: user/Node: time stamp 2011-06-07 01:56:05 is 7924 s in the future
tar has an option to suppress this message [1]:
-m, --touch
don't extract file modified time
However, you should probably also check that you don't have an issue with your system clock.
You can suppress the warnings while preserving the timestamps:
tar xzf myarchive.tar --warning=no-timestamp