extracting(default)--recursive-unlink empty hierarchies priortoextractingdirectory--remove-files remove files after adding themtothearchive--skip-old-files don't replace existing files when extracting,silently skip over them-U,--unlink-first remove each file priortoextractingover it-W,--verify attempt...
-m, --touch don't extract file modified time --no-delay-directory-restore cancel the effect of --delay-directory-restore option --no-same-owner extract files asyourself(defaultforordinary users)--no-same-permissions apply the user's umask when extracting permissions from the archive (default ...
-x, --extract, --get 解压,从归档中【解出】文件 -c, --create create a new archive 压缩,创建一个压缩文件 -C, --directory=DIR change to directory DIR 改变至目录 DIR -v, --verbose 详细地列出处理的文件 -f, --file=ARCHIVE 使用归档文件或 ARCHIVE 设备 -z, --gzip, --gunzip, --ungz...
--recursive-unlink empty hierarchies prior to extracting directory --remove-files remove files after adding them to the archive -U, --unlink-first remove each file prior to extracting over it -W, --verify attempt to verify the archive after writing it Select output stream: --ignore-command-e...
tar -xf archive.tar # Extract all files from archive.tar. 从archive.tar解压所有文件。 主操作模式: -A, --catenate, --concatenate 追加 tar 文件至归档 -c, --create 创建一个新归档 -d, --diff, --compare 找出归档和文件系统的差异
tar -xf archive.tar # Extract all files from archive.tar. 主操作模式: -A, --catenate, --concatenate 追加 tar 文件至归档 -c, --create 创建一个新归档 -d, --diff, --compare 找出归档和文件系统的差异 --delete 从归档(非磁带!)中删除 ...
--ignore-command-error ignore exit codes of children--no-ignore-command-error treat non-zero exit codes of children aserror-O, --to-stdout extract files to standard output--to-command=COMMAND pipe extracted files to another program Handling of file attributes: ...
-U, --unlink-first remove each file prior to extracting over it --recursive-unlink empty hierarchies prior to extracting directory -S, --sparse handle sparse files efficiently -O, --to-stdout extract files to standard output -G, --incremental handle old GNU-format incremental backup -g, -...
This example demonstrates how to create a compressed tar archive using bzip2. tar -cjvf archive.tar.bz2 directory/ The -j option compresses the archive using bzip2. Extract a Compressed Tar Archive (bzip2)This example shows how to extract files from a bzip2-compressed tar archive. ...
以下のキーワードは tar --extract に対して適用される: existing-file "%s: 既存ファイルをスキップします" timestamp "%s: あまりにも古いタイムスタンプ %s" "%s: タイムスタンプ %s は %s 秒後の日時を示しています" contiguous-cast "連続したファイル (contiguous files) を普通のフ...