Home Explore Blog CI



man-pages

14th chunk of `tar.man`
1b32dd9061946e3efcae9e41d916a290be939db89e56979a0000000100000896
 "Attempting extraction of symbolic links as hard links"

              unknown‐cast
                     "%s: Unknown file type ’%c’, extracted as normal file"

              ignore‐newer
                     "Current %s is newer or same age"

              unknown‐keyword
                     "Ignoring unknown extended header keyword ’%s’"

              decompress‐program
                     Controls verbose description of failures occurring when trying to run alternative decompressor programs.  This warning is disabled by default (unless --verbose is used).  A common example of what you can
                     get when using this warning is:

                     $ tar ‐‐warning=decompress‐program ‐x ‐f archive.Z
                     tar (child): cannot run compress: No such file or directory
                     tar (child): trying gzip

                     This means that tar first tried to decompress archive.Z using compress, and, when that failed, switched to gzip.

              record‐size
                     "Record size = %lu blocks"

              Keywords controlling incremental extraction:

              rename‐directory
                     "%s: Directory has been renamed from %s"
                     "%s: Directory has been renamed"

              new‐directory
                     "%s: Directory is new"

              xdev   "%s: directory is on a different device: not purging"

              bad‐dumpdir
                     "Malformed dumpdir: ’X’ never used"

       -w, --interactive, --confirmation
              Ask for confirmation for every action.

   Compatibility options
       -o     When creating, same as --old-archive.  When extracting, same as --no-same-owner.

   Size suffixes
               Suffix    Units                   Byte Equivalent
               b         Blocks                  SIZE x 512
               B         Kilobytes               SIZE x 1024
               c         Bytes                   SIZE
               G         Gigabytes               SIZE x 1024^3
               K         Kilobytes               SIZE x 1024
               k         Kilobytes               SIZE x

Title: GNU tar: Warning Keywords, Interactive Option, Compatibility and Size Suffixes
Summary
This section details specific warning keywords for tar extraction, focusing on scenarios like symbolic link handling, unknown file types, newer files, and decompressor program failures. It also covers warnings related to incremental extraction. Additionally, it explains the `-w` option for interactive confirmation, the compatibility option `-o`, and defines the size suffixes used with tar (b, B, c, G, K, k) and their byte equivalents.