Berkeley CSUA MOTD:Entry 26766
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2002/12/9-11 [Computer/SW/Unix] UID:26766 Activity:kinda low
12/9    How do I make the output of "tar cvfz some-directory" deterministic?
        My guess is that tar is putting some kind of header in the tar file
        which contains the date.  I ask because I don't want to send a tar
        archive to be backed up if it hasn't changed since the last time I
        tar'red up 'some-directory'.  Thanks
        \- i dont think you can do that, but you can use "find | tar".
           i'd be interested to hear if there is a way. gnu tar has a
           info node that is liek 150pp, so maybe there is a way. --psb
        \_ crc's and checksums.
                \_ yup, and a standard feature of any build/backup/long process