<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Ftar</id>
	<title>Comandos de la terminal/tar - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Ftar"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tar&amp;action=history"/>
	<updated>2026-04-21T23:56:37Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tar&amp;diff=6108&amp;oldid=prev</id>
		<title>Rrc en 19:46 22 sep 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tar&amp;diff=6108&amp;oldid=prev"/>
		<updated>2014-09-22T19:46:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#tar | tar]]&lt;br /&gt;
&lt;br /&gt;
== tar ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar --help&lt;br /&gt;
Usage: tar [OPTION...] [FILE]...&lt;br /&gt;
GNU &amp;#039;tar&amp;#039; saves many files together into a single tape or disk archive, and can&lt;br /&gt;
restore individual files from the archive.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  tar -cf archive.tar foo bar  # Create archive.tar from files foo and bar.&lt;br /&gt;
  tar -tvf archive.tar         # List all files in archive.tar verbosely.&lt;br /&gt;
  tar -xf archive.tar          # Extract all files from archive.tar.&lt;br /&gt;
&lt;br /&gt;
 Main operation mode:&lt;br /&gt;
&lt;br /&gt;
  -A, --catenate, --concatenate   append tar files to an archive&lt;br /&gt;
  -c, --create               create a new archive&lt;br /&gt;
  -d, --diff, --compare      find differences between archive and file system&lt;br /&gt;
      --delete               delete from the archive (not on mag tapes!)&lt;br /&gt;
  -r, --append               append files to the end of an archive&lt;br /&gt;
  -t, --list                 list the contents of an archive&lt;br /&gt;
      --test-label           test the archive volume label and exit&lt;br /&gt;
  -u, --update               only append files newer than copy in archive&lt;br /&gt;
  -x, --extract, --get       extract files from an archive&lt;br /&gt;
&lt;br /&gt;
 Operation modifiers:&lt;br /&gt;
&lt;br /&gt;
      --check-device         check device numbers when creating incremental&lt;br /&gt;
                             archives (default)&lt;br /&gt;
  -g, --listed-incremental=FILE   handle new GNU-format incremental backup&lt;br /&gt;
  -G, --incremental          handle old GNU-format incremental backup&lt;br /&gt;
      --ignore-failed-read   do not exit with nonzero on unreadable files&lt;br /&gt;
      --level=NUMBER         dump level for created listed-incremental archive&lt;br /&gt;
  -n, --seek                 archive is seekable&lt;br /&gt;
      --no-check-device      do not check device numbers when creating&lt;br /&gt;
                             incremental archives&lt;br /&gt;
      --no-seek              archive is not seekable&lt;br /&gt;
      --occurrence[=NUMBER]  process only the NUMBERth occurrence of each file&lt;br /&gt;
                             in the archive; this option is valid only in&lt;br /&gt;
                             conjunction with one of the subcommands --delete,&lt;br /&gt;
                             --diff, --extract or --list and when a list of&lt;br /&gt;
                             files is given either on the command line or via&lt;br /&gt;
                             the -T option; NUMBER defaults to 1&lt;br /&gt;
      --sparse-version=MAJOR[.MINOR]&lt;br /&gt;
                             set version of the sparse format to use (implies&lt;br /&gt;
                             --sparse)&lt;br /&gt;
  -S, --sparse               handle sparse files efficiently&lt;br /&gt;
&lt;br /&gt;
 Overwrite control:&lt;br /&gt;
&lt;br /&gt;
  -k, --keep-old-files       don&amp;#039;t replace existing files when extracting,&lt;br /&gt;
                             treat them as errors&lt;br /&gt;
      --keep-directory-symlink   preserve existing symlinks to directories when&lt;br /&gt;
                             extracting&lt;br /&gt;
      --keep-newer-files     don&amp;#039;t replace existing files that are newer than&lt;br /&gt;
                             their archive copies&lt;br /&gt;
      --no-overwrite-dir     preserve metadata of existing directories&lt;br /&gt;
      --overwrite            overwrite existing files when extracting&lt;br /&gt;
      --overwrite-dir        overwrite metadata of existing directories when&lt;br /&gt;
                             extracting (default)&lt;br /&gt;
      --recursive-unlink     empty hierarchies prior to extracting directory&lt;br /&gt;
      --remove-files         remove files after adding them to the archive&lt;br /&gt;
      --skip-old-files       don&amp;#039;t replace existing files when extracting,&lt;br /&gt;
                             silently skip over them&lt;br /&gt;
  -U, --unlink-first         remove each file prior to extracting over it&lt;br /&gt;
  -W, --verify               attempt to verify the archive after writing it&lt;br /&gt;
&lt;br /&gt;
 Select output stream:&lt;br /&gt;
&lt;br /&gt;
      --ignore-command-error ignore exit codes of children&lt;br /&gt;
      --no-ignore-command-error   treat non-zero exit codes of children as&lt;br /&gt;
                             error&lt;br /&gt;
  -O, --to-stdout            extract files to standard output&lt;br /&gt;
      --to-command=COMMAND   pipe extracted files to another program&lt;br /&gt;
&lt;br /&gt;
 Handling of file attributes:&lt;br /&gt;
&lt;br /&gt;
      --atime-preserve[=METHOD]   preserve access times on dumped files, either&lt;br /&gt;
                             by restoring the times after reading&lt;br /&gt;
                             (METHOD=&amp;#039;replace&amp;#039;; default) or by not setting the&lt;br /&gt;
                             times in the first place (METHOD=&amp;#039;system&amp;#039;)&lt;br /&gt;
      --delay-directory-restore   delay setting modification times and&lt;br /&gt;
                             permissions of extracted directories until the end&lt;br /&gt;
                             of extraction&lt;br /&gt;
      --group=NAME           force NAME as group for added files&lt;br /&gt;
      --mode=CHANGES         force (symbolic) mode CHANGES for added files&lt;br /&gt;
      --mtime=DATE-OR-FILE   set mtime for added files from DATE-OR-FILE&lt;br /&gt;
  -m, --touch                don&amp;#039;t extract file modified time&lt;br /&gt;
      --no-delay-directory-restore&lt;br /&gt;
                             cancel the effect of --delay-directory-restore&lt;br /&gt;
                             option&lt;br /&gt;
      --no-same-owner        extract files as yourself (default for ordinary&lt;br /&gt;
                             users)&lt;br /&gt;
      --no-same-permissions  apply the user&amp;#039;s umask when extracting permissions&lt;br /&gt;
                             from the archive (default for ordinary users)&lt;br /&gt;
      --numeric-owner        always use numbers for user/group names&lt;br /&gt;
      --owner=NAME           force NAME as owner for added files&lt;br /&gt;
  -p, --preserve-permissions, --same-permissions&lt;br /&gt;
                             extract information about file permissions&lt;br /&gt;
                             (default for superuser)&lt;br /&gt;
      --preserve             same as both -p and -s&lt;br /&gt;
      --same-owner           try extracting files with the same ownership as&lt;br /&gt;
                             exists in the archive (default for superuser)&lt;br /&gt;
  -s, --preserve-order, --same-order&lt;br /&gt;
                             member arguments are listed in the same order as&lt;br /&gt;
                             the files in the archive&lt;br /&gt;
&lt;br /&gt;
 Handling of extended file attributes:&lt;br /&gt;
&lt;br /&gt;
      --acls                 Enable the POSIX ACLs support&lt;br /&gt;
      --no-acls              Disable the POSIX ACLs support&lt;br /&gt;
      --no-selinux           Disable the SELinux context support&lt;br /&gt;
      --no-xattrs            Disable extended attributes support&lt;br /&gt;
      --selinux              Enable the SELinux context support&lt;br /&gt;
      --xattrs               Enable extended attributes support&lt;br /&gt;
      --xattrs-exclude=MASK  specify the exclude pattern for xattr keys&lt;br /&gt;
      --xattrs-include=MASK  specify the include pattern for xattr keys&lt;br /&gt;
&lt;br /&gt;
 Device selection and switching:&lt;br /&gt;
&lt;br /&gt;
  -f, --file=ARCHIVE         use archive file or device ARCHIVE&lt;br /&gt;
      --force-local          archive file is local even if it has a colon&lt;br /&gt;
  -F, --info-script=NAME, --new-volume-script=NAME&lt;br /&gt;
                             run script at end of each tape (implies -M)&lt;br /&gt;
  -L, --tape-length=NUMBER   change tape after writing NUMBER x 1024 bytes&lt;br /&gt;
  -M, --multi-volume         create/list/extract multi-volume archive&lt;br /&gt;
      --rmt-command=COMMAND  use given rmt COMMAND instead of rmt&lt;br /&gt;
      --rsh-command=COMMAND  use remote COMMAND instead of rsh&lt;br /&gt;
      --volno-file=FILE      use/update the volume number in FILE&lt;br /&gt;
&lt;br /&gt;
 Device blocking:&lt;br /&gt;
&lt;br /&gt;
  -b, --blocking-factor=BLOCKS   BLOCKS x 512 bytes per record&lt;br /&gt;
  -B, --read-full-records    reblock as we read (for 4.2BSD pipes)&lt;br /&gt;
  -i, --ignore-zeros         ignore zeroed blocks in archive (means EOF)&lt;br /&gt;
      --record-size=NUMBER   NUMBER of bytes per record, multiple of 512&lt;br /&gt;
&lt;br /&gt;
 Archive format selection:&lt;br /&gt;
&lt;br /&gt;
  -H, --format=FORMAT        create archive of the given format&lt;br /&gt;
  -Y, --lzma                 filter the archive through lzma (depreceated flag)&lt;br /&gt;
                            &lt;br /&gt;
&lt;br /&gt;
 FORMAT is one of the following:&lt;br /&gt;
&lt;br /&gt;
    gnu                      GNU tar 1.13.x format&lt;br /&gt;
    oldgnu                   GNU format as per tar &amp;lt;= 1.12&lt;br /&gt;
    pax                      POSIX 1003.1-2001 (pax) format&lt;br /&gt;
    posix                    same as pax&lt;br /&gt;
    ustar                    POSIX 1003.1-1988 (ustar) format&lt;br /&gt;
    v7                       old V7 tar format&lt;br /&gt;
&lt;br /&gt;
      --old-archive, --portability&lt;br /&gt;
                             same as --format=v7&lt;br /&gt;
      --pax-option=keyword[[:]=value][,keyword[[:]=value]]...&lt;br /&gt;
                             control pax keywords&lt;br /&gt;
      --posix                same as --format=posix&lt;br /&gt;
  -V, --label=TEXT           create archive with volume name TEXT; at&lt;br /&gt;
                             list/extract time, use TEXT as a globbing pattern&lt;br /&gt;
                             for volume name&lt;br /&gt;
&lt;br /&gt;
 Compression options:&lt;br /&gt;
&lt;br /&gt;
  -a, --auto-compress        use archive suffix to determine the compression&lt;br /&gt;
                             program&lt;br /&gt;
  -I, --use-compress-program=PROG&lt;br /&gt;
                             filter through PROG (must accept -d)&lt;br /&gt;
  -j, --bzip2                filter the archive through bzip2&lt;br /&gt;
  -J, --xz                   filter the archive through xz&lt;br /&gt;
      --lzip                 filter the archive through lzip&lt;br /&gt;
      --lzma                 filter the archive through lzma&lt;br /&gt;
      --lzop&lt;br /&gt;
      --no-auto-compress     do not use archive suffix to determine the&lt;br /&gt;
                             compression program&lt;br /&gt;
  -z, --gzip, --gunzip, --ungzip   filter the archive through gzip&lt;br /&gt;
  -Z, --compress, --uncompress   filter the archive through compress&lt;br /&gt;
&lt;br /&gt;
 Local file selection:&lt;br /&gt;
&lt;br /&gt;
      --add-file=FILE        add given FILE to the archive (useful if its name&lt;br /&gt;
                             starts with a dash)&lt;br /&gt;
      --backup[=CONTROL]     backup before removal, choose version CONTROL&lt;br /&gt;
  -C, --directory=DIR        change to directory DIR&lt;br /&gt;
      --exclude=PATTERN      exclude files, given as a PATTERN&lt;br /&gt;
      --exclude-backups      exclude backup and lock files&lt;br /&gt;
      --exclude-caches       exclude contents of directories containing&lt;br /&gt;
                             CACHEDIR.TAG, except for the tag file itself&lt;br /&gt;
      --exclude-caches-all   exclude directories containing CACHEDIR.TAG&lt;br /&gt;
      --exclude-caches-under exclude everything under directories containing&lt;br /&gt;
                             CACHEDIR.TAG&lt;br /&gt;
      --exclude-tag=FILE     exclude contents of directories containing FILE,&lt;br /&gt;
                             except for FILE itself&lt;br /&gt;
      --exclude-tag-all=FILE exclude directories containing FILE&lt;br /&gt;
      --exclude-tag-under=FILE   exclude everything under directories&lt;br /&gt;
                             containing FILE&lt;br /&gt;
      --exclude-vcs          exclude version control system directories&lt;br /&gt;
  -h, --dereference          follow symlinks; archive and dump the files they&lt;br /&gt;
                             point to&lt;br /&gt;
      --hard-dereference     follow hard links; archive and dump the files they&lt;br /&gt;
                             refer to&lt;br /&gt;
  -K, --starting-file=MEMBER-NAME&lt;br /&gt;
                             begin at member MEMBER-NAME when reading the&lt;br /&gt;
                             archive&lt;br /&gt;
      --newer-mtime=DATE     compare date and time when data changed only&lt;br /&gt;
      --no-null              disable the effect of the previous --null option&lt;br /&gt;
      --no-recursion         avoid descending automatically in directories&lt;br /&gt;
      --no-unquote           do not unquote filenames read with -T&lt;br /&gt;
      --null                 -T reads null-terminated names, disable -C&lt;br /&gt;
  -N, --newer=DATE-OR-FILE, --after-date=DATE-OR-FILE&lt;br /&gt;
                             only store files newer than DATE-OR-FILE&lt;br /&gt;
      --one-file-system      stay in local file system when creating archive&lt;br /&gt;
  -P, --absolute-names       don&amp;#039;t strip leading &amp;#039;/&amp;#039;s from file names&lt;br /&gt;
      --recursion            recurse into directories (default)&lt;br /&gt;
      --suffix=STRING        backup before removal, override usual suffix (&amp;#039;~&amp;#039;&lt;br /&gt;
                             unless overridden by environment variable&lt;br /&gt;
                             SIMPLE_BACKUP_SUFFIX)&lt;br /&gt;
  -T, --files-from=FILE      get names to extract or create from FILE&lt;br /&gt;
      --unquote              unquote filenames read with -T (default)&lt;br /&gt;
  -X, --exclude-from=FILE    exclude patterns listed in FILE&lt;br /&gt;
&lt;br /&gt;
 File name transformations:&lt;br /&gt;
&lt;br /&gt;
      --strip-components=NUMBER   strip NUMBER leading components from file&lt;br /&gt;
                             names on extraction&lt;br /&gt;
      --transform=EXPRESSION, --xform=EXPRESSION&lt;br /&gt;
                             use sed replace EXPRESSION to transform file&lt;br /&gt;
                             names&lt;br /&gt;
&lt;br /&gt;
 File name matching options (affect both exclude and include patterns):&lt;br /&gt;
&lt;br /&gt;
      --anchored             patterns match file name start&lt;br /&gt;
      --ignore-case          ignore case&lt;br /&gt;
      --no-anchored          patterns match after any &amp;#039;/&amp;#039; (default for&lt;br /&gt;
                             exclusion)&lt;br /&gt;
      --no-ignore-case       case sensitive matching (default)&lt;br /&gt;
      --no-wildcards         verbatim string matching&lt;br /&gt;
      --no-wildcards-match-slash   wildcards do not match &amp;#039;/&amp;#039;&lt;br /&gt;
      --wildcards            use wildcards (default for exclusion)&lt;br /&gt;
      --wildcards-match-slash   wildcards match &amp;#039;/&amp;#039; (default for exclusion)&lt;br /&gt;
&lt;br /&gt;
 Informative output:&lt;br /&gt;
&lt;br /&gt;
      --checkpoint[=NUMBER]  display progress messages every NUMBERth record&lt;br /&gt;
                             (default 10)&lt;br /&gt;
      --checkpoint-action=ACTION   execute ACTION on each checkpoint&lt;br /&gt;
      --full-time            print file time to its full resolution&lt;br /&gt;
      --index-file=FILE      send verbose output to FILE&lt;br /&gt;
  -l, --check-links          print a message if not all links are dumped&lt;br /&gt;
      --no-quote-chars=STRING   disable quoting for characters from STRING&lt;br /&gt;
      --quote-chars=STRING   additionally quote characters from STRING&lt;br /&gt;
      --quoting-style=STYLE  set name quoting style; see below for valid STYLE&lt;br /&gt;
                             values&lt;br /&gt;
  -R, --block-number         show block number within archive with each&lt;br /&gt;
                             message&lt;br /&gt;
      --show-defaults        show tar defaults&lt;br /&gt;
      --show-omitted-dirs    when listing or extracting, list each directory&lt;br /&gt;
                             that does not match search criteria&lt;br /&gt;
      --show-snapshot-field-ranges&lt;br /&gt;
                             show valid ranges for snapshot-file fields&lt;br /&gt;
      --show-transformed-names, --show-stored-names&lt;br /&gt;
                             show file or archive names after transformation&lt;br /&gt;
      --totals[=SIGNAL]      print total bytes after processing the archive;&lt;br /&gt;
                             with an argument - print total bytes when this&lt;br /&gt;
                             SIGNAL is delivered; Allowed signals are: SIGHUP,&lt;br /&gt;
                             SIGQUIT, SIGINT, SIGUSR1 and SIGUSR2; the names&lt;br /&gt;
                             without SIG prefix are also accepted&lt;br /&gt;
      --utc                  print file modification times in UTC&lt;br /&gt;
  -v, --verbose              verbosely list files processed&lt;br /&gt;
      --warning=KEYWORD      warning control&lt;br /&gt;
  -w, --interactive, --confirmation&lt;br /&gt;
                             ask for confirmation for every action&lt;br /&gt;
&lt;br /&gt;
 Compatibility options:&lt;br /&gt;
&lt;br /&gt;
  -o                         when creating, same as --old-archive; when&lt;br /&gt;
                             extracting, same as --no-same-owner&lt;br /&gt;
&lt;br /&gt;
 Other options:&lt;br /&gt;
&lt;br /&gt;
  -?, --help                 give this help list&lt;br /&gt;
      --restrict             disable use of some potentially harmful options&lt;br /&gt;
      --usage                give a short usage message&lt;br /&gt;
      --version              print program version&lt;br /&gt;
&lt;br /&gt;
Mandatory or optional arguments to long options are also mandatory or optional&lt;br /&gt;
for any corresponding short options.&lt;br /&gt;
&lt;br /&gt;
The backup suffix is &amp;#039;~&amp;#039;, unless set with --suffix or SIMPLE_BACKUP_SUFFIX.&lt;br /&gt;
The version control may be set with --backup or VERSION_CONTROL, values are:&lt;br /&gt;
&lt;br /&gt;
  none, off       never make backups&lt;br /&gt;
  t, numbered     make numbered backups&lt;br /&gt;
  nil, existing   numbered if numbered backups exist, simple otherwise&lt;br /&gt;
  never, simple   always make simple backups&lt;br /&gt;
&lt;br /&gt;
Valid arguments for the --quoting-style option are:&lt;br /&gt;
&lt;br /&gt;
  literal&lt;br /&gt;
  shell&lt;br /&gt;
  shell-always&lt;br /&gt;
  c&lt;br /&gt;
  c-maybe&lt;br /&gt;
  escape&lt;br /&gt;
  locale&lt;br /&gt;
  clocale&lt;br /&gt;
&lt;br /&gt;
*This* tar defaults to:&lt;br /&gt;
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/libexec/rmt&lt;br /&gt;
--rsh-command=/usr/bin/rsh&lt;br /&gt;
&lt;br /&gt;
Report bugs to &amp;lt;bug-tar@gnu.org&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar --version&lt;br /&gt;
tar (GNU tar) 1.27.1&lt;br /&gt;
Copyright (C) 2013 Free Software Foundation, Inc.&lt;br /&gt;
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;.&lt;br /&gt;
This is free software: you are free to change and redistribute it.&lt;br /&gt;
There is NO WARRANTY, to the extent permitted by law.&lt;br /&gt;
&lt;br /&gt;
Written by John Gilmore and Jay Fenlason.&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar -cf  ComandosDeLaTerminal.tar ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -alh ComandosDeLaTerminal.tar &lt;br /&gt;
-rw------- 1 rrc rrc 1.1M Sep 16 13:44 ComandosDeLaTerminal.tar&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ du -sh ComandosDeLaTerminal&lt;br /&gt;
1.3M	ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ file ComandosDeLaTerminal.tar &lt;br /&gt;
ComandosDeLaTerminal.tar: POSIX tar archive (GNU)&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ rm -f ComandosDeLaTerminal.tar &lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar -zcf  ComandosDeLaTerminal.tar.gz ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -alh ComandosDeLaTerminal.tar.gz &lt;br /&gt;
-rw------- 1 rrc rrc 135K Sep 16 13:49 ComandosDeLaTerminal.tar.gz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ file ComandosDeLaTerminal.tar.gz &lt;br /&gt;
ComandosDeLaTerminal.tar.gz: gzip compressed data, from Unix, last modified: Tue Sep 16 13:49:38 2014&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ rm -f ComandosDeLaTerminal.tar.gz &lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar acf ComandosDeLaTerminal.tgz ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -alh ComandosDeLaTerminal.tgz &lt;br /&gt;
-rw------- 1 rrc rrc 135K Sep 16 13:52 ComandosDeLaTerminal.tgz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ file ComandosDeLaTerminal.tgz &lt;br /&gt;
ComandosDeLaTerminal.tgz: gzip compressed data, from Unix, last modified: Tue Sep 16 13:52:57 2014&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar acf ComandosDeLaTerminal.tar.gz ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ file ComandosDeLaTerminal.tar.gz &lt;br /&gt;
ComandosDeLaTerminal.tar.gz: gzip compressed data, from Unix, last modified: Tue Sep 16 13:53:49 2014&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -alh ComandosDeLaTerminal.tar.gz &lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar acf ComandosDeLaTerminal.tar.xz ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -alh ComandosDeLaTerminal.tar.xz &lt;br /&gt;
-rw------- 1 rrc rrc 26K Sep 16 13:54 ComandosDeLaTerminal.tar.xz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ file ComandosDeLaTerminal.tar.xz&lt;br /&gt;
ComandosDeLaTerminal.tar.xz: XZ compressed data&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ rm -f ComandosDeLaTerminal.t*&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar -avcf ComandosDeLaTerminal.tar.xz ComandosDeLaTerminal&lt;br /&gt;
ComandosDeLaTerminal/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta33/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta23/&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
ComandosDeLaTerminal/Archivo2DeTres&lt;br /&gt;
ComandosDeLaTerminal/MiArchivo.Err&lt;br /&gt;
ComandosDeLaTerminal/CutEjemplo&lt;br /&gt;
ComandosDeLaTerminal/File2&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar atvf ComandosDeLaTerminal.tar.xz &lt;br /&gt;
drwx------ rrc/rrc           0 2014-09-13 15:56 ComandosDeLaTerminal/&lt;br /&gt;
drwxrwxrwx rrc/rrc           0 2014-03-27 13:45 ComandosDeLaTerminal/Carpeta21/&lt;br /&gt;
drwxrwxrwx rrc/rrc           0 2014-03-27 13:48 ComandosDeLaTerminal/Carpeta21/Carpeta22/&lt;br /&gt;
drwx-wx--x rrc/rrc           0 2014-03-27 13:48 ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta33/&lt;br /&gt;
drwx-wx--x rrc/rrc           0 2014-03-27 13:45 ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta23/&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
-rw------- rrc/rrc          30 2013-11-16 13:16 ComandosDeLaTerminal/CatArchivo3&lt;br /&gt;
-rw-r--r-- rrc/rrc           0 2014-04-04 15:00 ComandosDeLaTerminal/DelMe&lt;br /&gt;
-rw------- rrc/rrc           0 2014-01-11 16:07 ComandosDeLaTerminal/Archivo2DeTres&lt;br /&gt;
-rw------- rrc/rrc          46 2013-11-16 13:04 ComandosDeLaTerminal/MiArchivo.Err&lt;br /&gt;
-rw------- rrc/rrc          87 2013-12-31 12:25 ComandosDeLaTerminal/CutEjemplo&lt;br /&gt;
-rw------- rrc/rrc           0 2014-07-28 12:42 ComandosDeLaTerminal/File2&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar df ComandosDeLaTerminal.tar.xz &lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar df ComandosDeLaTerminal.tar.xz ComandosDeLaTerminal/&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -al ComandosDeLaTerminal/Source &lt;br /&gt;
-rwx------ 1 rrc rrc 33 Feb 14  2014 ComandosDeLaTerminal/Source*&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ &amp;gt; ComandosDeLaTerminal/Source &lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar -df ComandosDeLaTerminal.tar.xz ComandosDeLaTerminal&lt;br /&gt;
ComandosDeLaTerminal/Source: Mod time differs&lt;br /&gt;
ComandosDeLaTerminal/Source: Size differs&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ rm -rf ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -al ComandosDeLaTerminal*&lt;br /&gt;
-rw------- 1 rrc rrc 24528 Sep 22 14:29 ComandosDeLaTerminal.tar.xz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar axvf ComandosDeLaTerminal.tar.xz &lt;br /&gt;
ComandosDeLaTerminal/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta33/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta23/&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
ComandosDeLaTerminal/DelMe&lt;br /&gt;
ComandosDeLaTerminal/Archivo2DeTres&lt;br /&gt;
ComandosDeLaTerminal/MiArchivo.Err&lt;br /&gt;
ComandosDeLaTerminal/CutEjemplo&lt;br /&gt;
ComandosDeLaTerminal/File2&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -ald ComandosDeLaTerminal*&lt;br /&gt;
drwx------ 9 rrc rrc  4096 Sep 20 16:30 ComandosDeLaTerminal/&lt;br /&gt;
-rw------- 1 rrc rrc 24528 Sep 22 14:29 ComandosDeLaTerminal.tar.xz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ du -sh ComandosDeLaTerminal&lt;br /&gt;
1.3M	ComandosDeLaTerminal&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -al ComandosDeLaTerminal/Source &lt;br /&gt;
-rwx------ 1 rrc rrc 33 Feb 14  2014 ComandosDeLaTerminal/Source*&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -al ComandosDeLaTerminal/Leave*&lt;br /&gt;
-rwx------ 1 rrc rrc 38 May 17 11:54 ComandosDeLaTerminal/Leave*&lt;br /&gt;
-rwx------ 1 rrc rrc 39 May 24 15:46 ComandosDeLaTerminal/Leave2*&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar acv --exclude Leave* -f ComandosDeLaTerminalSinLeave.tar.xz ComandosDeLaTerminal&lt;br /&gt;
ComandosDeLaTerminal/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta33/&lt;br /&gt;
ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta23/&lt;br /&gt;
ComandosDeLaTerminal/RedirTxt&lt;br /&gt;
ComandosDeLaTerminal/Agregado1&lt;br /&gt;
ComandosDeLaTerminal/S27.sh&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
ComandosDeLaTerminal/CatArchivo3&lt;br /&gt;
ComandosDeLaTerminal/DelMe&lt;br /&gt;
ComandosDeLaTerminal/Archivo2DeTres&lt;br /&gt;
ComandosDeLaTerminal/Agregado2&lt;br /&gt;
ComandosDeLaTerminal/MiArchivo.Err&lt;br /&gt;
ComandosDeLaTerminal/CutEjemplo&lt;br /&gt;
ComandosDeLaTerminal/File2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ ls -ald ComandosDeLaTerminal*&lt;br /&gt;
drwx------ 9 rrc rrc  4096 Sep 20 16:30 ComandosDeLaTerminal/&lt;br /&gt;
-rw------- 1 rrc rrc 24444 Sep 22 14:43 ComandosDeLaTerminalSinLeave.tar.xz&lt;br /&gt;
-rw------- 1 rrc rrc 24528 Sep 22 14:29 ComandosDeLaTerminal.tar.xz&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar atvf ComandosDeLaTerminalSinLeave.tar.xz | grep Leave&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[rrc@Llawyr ~]$ tar -axwf ComandosDeLaTerminal.tar.xz&lt;br /&gt;
extract ‘ComandosDeLaTerminal’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Carpeta21’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Carpeta21/Carpeta22’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta33’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Carpeta21/Carpeta22/Carpeta23’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/RedirTxt’?y&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Agregado1’?y&lt;br /&gt;
extract ‘ComandosDeLaTerminal/S27.sh’?y&lt;br /&gt;
extract ‘ComandosDeLaTerminal/OutTxt’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/MBRRespalda’?n&lt;br /&gt;
extract ‘ComandosDeLaTerminal/Agregado3’?&lt;br /&gt;
^C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Comandos de la terminal]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>