-t 选项列举包里的文件, 匹配模式和-x提取一样的
有两种匹配模式,一种是包含--include,一种是排斥--exclude, 至于-I/T, -X只是从文件中读取匹配模式
tar [bundled-flags ] [ | ...]
tar {-c} [options] [files | directories]
tar {-r | -u} -f archive-file [options] [files | directories]
tar {-t | -x} [options] [patterns]
-t List archive contents to stdout.
-u Like -r, but new entries are added only if they have a modifica-
tion date newer than the corresponding entry in the archive.
Note that this only works on uncompressed archives stored in reg-
ular files.The -f option is required.
-x Extract to disk from the archive. If a file with the same name
appears more than once in the archive, each copy will be
extracted, with later copies overwriting (replacing) earlier
copies.
--exclude pattern (-W exclude=pattern)
Do not process files o