Home » » Linux Ascendency Delineate Of Piece Of Occupation Tutorial For Beginners 36 - Tar Ascendency To Compress A...

Linux Ascendency Delineate Of Piece Of Occupation Tutorial For Beginners 36 - Tar Ascendency To Compress A...



TAR(1)                    BSD General Commands Manual                   TAR(1)  NAME      tar — The GNU version of the tar archiving utility  SYNOPSIS      tar [-] H5N1 --catenate --concatenate | c --create | d --diff --compare |          --delete | r --append | t --list | --test-label | u --update | x          --extract --get [options] [pathname ...]  DESCRIPTION      Tar stores in addition to extracts files from a tape or disk archive.       The outset declaration to tar should endure a function; either 1 of the letters      Acdrtux, or 1 of the long component names.  H5N1 component alphabetic lineament demand not      endure prefixed alongside ``-'', in addition to may endure combined alongside other single-letter      options.  H5N1 long component parent must endure prefixed alongside --.  Some options      bring a parameter; alongside the single-letter bird these must endure given every bit sep‐      arate arguments.  With the long form, they may endure given past times appending      =value to the option.  FUNCTION LETTERS      Main functioning mode:       -A, --catenate, --concatenate            append tar files to an archive       -c, --create            create a novel archive       -d, --diff, --compare            uncovering differences betwixt archive in addition to file system       --delete            delete from the archive (not on magazine tapes!)       -r, --append            append files to the halt of an archive       -t, --list            listing the contents of an archive       --test-label            exam the archive book label in addition to exit       -u, --update            entirely append files newer than re-create inwards archive       -x, --extract, --get            extract files from an archive  OTHER OPTIONS      Operation modifiers:       -[0-7][lmh]            specify displace in addition to density       -a, --auto-compress            utilization archive suffix to decide the compression program       --acls            Enable the POSIX ACLs support       --no-acls            Disable the POSIX ACLs support       --add-file=FILE            add together given FILE to the archive (useful if its parent starts alongside a            dash)       --anchored            patterns check file parent start       --no-anchored            patterns check later on whatever '/' (default for exclusion)       --atime-preserve            save access times on dumped files, either past times restoring the            times       --no-auto-compress            exercise non utilization archive suffix to decide the compression program       -b, --blocking-factor BLOCKS            BLOCKS x 512 bytes per record       -B, --read-full-records            reblock every bit nosotros read (for 4.2BSD pipes)       --backup            backup earlier removal, select version CONTROL       -C, --directory DIR            alter to directory DIR       --check-device            banking company check device numbers when creating incremental archives (default)       --no-check-device            exercise non banking company check device numbers when creating incremental archives       --checkpoint            display progress messages every NUMBERth tape (default 10)       --checkpoint-action=ACTION            execute ACTION on each checkpoint       --delay-directory-restore            delay setting modification times in addition to permissions of extracted       --no-delay-directory-restore            cancel the trial of --delay-directory-restore option       --exclude=PATTERN            exclude files, given every bit a PATTERN       --exclude-backups            exclude backup in addition to lock files       --exclude-caches            exclude contents of directories containing CACHEDIR.TAG,       --exclude-caches-all            exclude directories containing CACHEDIR.TAG       --exclude-caches-under            exclude everything nether directories containing CACHEDIR.TAG       --exclude-tag=FILE            exclude contents of directories containing FILE, except       --exclude-tag-all=FILE            exclude directories containing FILE       --exclude-tag-under=FILE            exclude everything nether directories containing FILE       --exclude-vcs            exclude version command organisation directories       -f, --file ARCHIVE            utilization archive file or device ARCHIVE       -F, --info-script, --new-volume-script NAME            run script at halt of each tape (implies -M)       --force-local            archive file is local fifty-fifty if it has a colon       --full-time            impress file fourth dimension to its sum resolution       -g, --listed-incremental FILE            grip novel GNU-format incremental backup       -G, --incremental            grip onetime GNU-format incremental backup       --group=NAME            forcefulness NAME every bit grouping for added files       -h, --dereference            follow symlinks; archive in addition to dump the files they quest to       -H, --format FORMAT            create archive of the given formatFORMAT is 1 of the following:             --format=gnu                  GNU tar 1.13.x format             --format=oldgnu                  GNU format every bit per tar <= 1.12             --format=pax                  POSIX 1003.1-2001 (pax) format             --format=posix                  same every bit pax             --format=ustar                  POSIX 1003.1-1988 (ustar) format             --format=v7                  onetime V7 tar format       --hard-dereference            follow difficult links; archive in addition to dump the files they refer to       -i, --ignore-zeros            ignore zeroed blocks inwards archive (means EOF)       -I, --use-compress-program PROG            filter through PROG (must bring -d)       --ignore-case            ignore case       --no-ignore-case            example sensitive matching (default)       --ignore-command-error            ignore leave of absence codes of children       --no-ignore-command-error            care for non-zero leave of absence codes of children every bit error       --ignore-failed-read            exercise non leave of absence alongside nonzero on unreadable files       --index-file=FILE            mail verbose output to FILE       -j, --bzip2        -J, --xz        -k, --keep-old-files            don't supervene upon existing files when extracting,       -K, --starting-file MEMBER-NAME            start out at fellow member MEMBER-NAME when reading the archive       --keep-directory-symlink            save existing symlinks to directories when extracting       --keep-newer-files            don't supervene upon existing files that are newer than their archive            copies       -l, --check-links            impress a message if non all links are dumped       -L, --tape-length NUMBER            alter tape later on writing NUMBER x 1024 bytes       --level=NUMBER            dump bird for created listed-incremental archive       --lzip        --lzma        --lzop        -m, --touch            don't extract file modified time       -M, --multi-volume            create/list/extract multi-volume archive       --mode=CHANGES            forcefulness (symbolic) fashion CHANGES for added files       --mtime=DATE-OR-FILE            laid mtime for added files from DATE-OR-FILE       -n, --seek            archive is seekable       -N, --newer, --after-date DATE-OR-FILE            entirely shop files newer than DATE-OR-FILE       --newer-mtime=DATE            compare engagement in addition to fourth dimension when information changed only       --null            -T reads null-terminated names, disable -C       --no-null            disable the trial of the previous --null option       --numeric-owner            e'er utilization numbers for user/group names       -O, --to-stdout            extract files to measure output       --occurrence            procedure entirely the NUMBERth occurrence of each file inwards the archive;       --old-archive, --portability            same every bit --format=v7       --one-file-system            remain inwards local file organisation when creating archive       --overwrite            overwrite existing files when extracting       --overwrite-dir            overwrite metadata of existing directories when extracting            (default)       --no-overwrite-dir            save metadata of existing directories       --owner=NAME            forcefulness NAME every bit possessor for added files       -p, --preserve-permissions, --same-permissions            extract information almost file permissions (default for superuser)       -P, --absolute-names            don't strip leading '/'s from file names       --pax-option=keyword[[:]=value][,keyword[[:]=value]]...            command pax keywords       --posix            same every bit --format=posix       --preserve            same every bit both -p in addition to -s       --quote-chars=STRING            additionally quote characters from STRING       --no-quote-chars=STRING            disable quoting for characters from STRING       --quoting-style=STYLE            laid parent quoting style; encounter below for valid STYLE values       -R, --block-number            exhibit block position out inside archive alongside each message       --record-size=NUMBER            NUMBER of bytes per record, multiple of 512       --recursion            recurse into directories (default)       --no-recursion            avoid descending automatically inwards directories       --recursive-unlink            empty hierarchies prior to extracting directory       --remove-files            withdraw files later on adding them to the archive       --restrict            disable utilization of around potentially harmful options       --rmt-command=COMMAND            utilization given rmt COMMAND instead of rmt       --rsh-command=COMMAND            utilization remote COMMAND instead of rsh       -s, --preserve-order, --same-order            fellow member arguments are listed inwards the same fellowship every bit the       -S, --sparse            grip lean files efficiently       --same-owner            attempt extracting files alongside the same ownership every bit exists inwards the ar‐            chive (default for superuser)       --no-same-owner            extract files every bit yourself (default for ordinary users)       --no-same-permissions            apply the user's umask when extracting permissions from the archive            (default for ordinary users)       --no-seek            archive is non seekable       --selinux            Enable the SELinux context support       --no-selinux            Disable the SELinux context support       --show-defaults            exhibit tar defaults       --show-omitted-dirs            when listing or extracting, listing each directory that does non match            search criteria       --show-snapshot-field-ranges            exhibit valid ranges for snapshot-file fields       --show-transformed-names, --show-stored-names            exhibit file or archive names later on transformation       --skip-old-files            don't supervene upon existing files when extracting, silently skip over            them       --sparse-version=MAJOR[.MINOR]            laid version of the lean format to utilization (implies --sparse)       --strip-components=NUMBER            strip NUMBER leading components from file names on extraction       --suffix=STRING            backup earlier removal, override green suffix (' ' unless overridden            past times environs variable SIMPLE_BACKUP_SUFFIX)       -T, --files-from FILE            perish names to extract or create from FILE       --to-command=COMMAND            piping extracted files to around other program       --totals            impress sum bytes later on processing the archive;       --transform, --xform EXPRESSION            utilization sed supervene upon EXPRESSION to transform file names       -U, --unlink-first            withdraw each file prior to extracting over it       --unquote            unquote filenames read alongside -T (default)       --no-unquote            exercise non unquote filenames read alongside -T       --utc            impress file modification times inwards UTC       -v, --verbose            verbosely listing files processed       -V, --label TEXT            create archive alongside book parent TEXT; at list/extract time, use            TEXT every bit a globbing blueprint for book name       --volno-file=FILE            use/update the book position out inwards FILE       -w, --interactive, --confirmation            inquire for confirmation for every action       -W, --verify            endeavour to verify the archive later on writing it       --warning=KEYWORD            alert control       --wildcards            utilization wildcards (default for exclusion)       --wildcards-match-slash            wildcards check '/' (default for exclusion)       --no-wildcards-match-slash            wildcards exercise non check '/'       --no-wildcards            verbatim string matching       -X, --exclude-from FILE            exclude patterns listed inwards FILE       --xattrs            Enable extended attributes support       --xattrs-exclude=MASK            specify the exclude blueprint for xattr keys       --xattrs-include=MASK            specify the include blueprint for xattr keys       --no-xattrs            Disable extended attributes support       -z, --gzip, --gunzip --ungzip        -Z, --compress, --uncompress   ENVIRONMENT      The demeanour of tar is controlled past times the next environs variables,      amid others:       TAR_LONGLINK_100       PRISTINE_TAR_COMPAT       SIMPLE_BACKUP_SUFFIX              Backup prefix to utilization when extracting, if --suffix is non speci‐              fied.  The backup suffix defaults to ` ' if neither is specified.       TAR_OPTIONS              Options to prepend to those specified on the command line, sepa‐              rated past times whitespace.  Embedded backslashes may endure used to escape              whitespace or backslashes inside an option.       TAPE    Device or file to utilization for the archive if --file is non specified.              If this environs variable is unset, utilization stdin or stdout              instead.  EXAMPLES      Create archive.tar from files foo in addition to bar.            tar -cf archive.tar foo bar      List all files inwards archive.tar verbosely.            tar -tvf archive.tar      Extract all files from archive.tar.            tar -xf archive.tar  SEE ALSO      tar(5), symlink(7), rmt(8)  HISTORY      The tar command appeared inwards Version vii AT&T UNIX.  BUGS      The GNU folks, inwards general, loathe human pages, in addition to create information documents      instead.  Unfortunately, the information document describing tar is licensed      nether the GFDL alongside invariant encompass texts, which makes it impossible to      include whatever text from that document inwards this human page.  Most of the text      inwards this document was automatically extracted from the usage text inwards the      source.  It may non completely depict all features of the program.                                    February 4, 2014 

0 comments:

Post a Comment

Search

Blog Archive