]> granicus.if.org Git - file/commitdiff
add incremental tar format from Eloi Notario entfe001 at gmail dot com
authorChristos Zoulas <christos@zoulas.com>
Wed, 26 Oct 2011 15:44:47 +0000 (15:44 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 26 Oct 2011 15:44:47 +0000 (15:44 +0000)
magic/Magdir/archive

index 9816e08679b448a7b09e1be0478b18fe9e3e74d2..099b312e035832edcdfbed651c227655d540510d 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: archive,v 1.68 2011/09/07 15:47:51 christos Exp $
+# $File: archive,v 1.69 2011/09/28 13:22:54 christos Exp $
 # archive:  file(1) magic for archive formats (see also "msdos" for self-
 #           extracting compressed archives)
 #
 257    string          ustar\040\040\0 GNU tar archive
 !:mime application/x-tar # encoding: gnu
 
+# Incremental snapshot gnu-tar format from:
+# http://www.gnu.org/software/tar/manual/html_node/Snapshot-Files.html
+0      string          GNU\ tar-       GNU tar incremental snapshot data
+>&0    regex           [0-9]\.[0-9]+-[0-9]+    version %s
+
 # cpio archives
 #
 # Yes, the top two "cpio archive" formats *are* supposed to just be "short".