I can't seem to preserve the atime of files when archiving and extracting.  Can 
somebody show me what I'm doing wrong?  Here are the steps I'm using:

$ tar -version
tar (GNU tar) 1.20
$ uname -a
Linux blahHostName 2.6.5-7.283-smp #1 SMP Wed Nov 29 16:55:53 UTC 2006 x86_64 
x86_64 x86_64 GNU/Linux
$ pwd
blahDir/
$ touch -t 02010000 blah
$ ls -lu blah
-rw-rw-r--  1 <user> <group> 0 2008-02-01 00:00 blah
$ tar -jcf blah.tz2 blah --atime-preserve
$ cd ..
$ tar -jxf blahDir/blah.tz2
$ ls -lu blah
-rw-rw-r--  1 <user> <group> 0 2008-11-08 10:32 blah

Reply via email to